Skip to content
Back to skills

Dax Calculated Column For Group Sum Ignoring Columns

ASecurity

Generates a DAX calculated column that sums a target value column for unique combinations of specified grouping columns, effectively ignoring other columns in the filter context.

  • 581 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 30, 2026
education

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill dax-calculated-column-for-group-sum-ignoring-columns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dax Calculated Column For Group Sum Ignoring Columns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dax Calculated Column For Group Sum Ignoring Columns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-dax-calculated-column-for-group-sum-ignoring-colum/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-dax-calculated-column-for-group-sum-ignoring-colum)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "bc255713-5265-4be0-a678-64c1bba72fb1"
name: "DAX Calculated Column for Group Sum Ignoring Columns"
description: "Generates a DAX calculated column that sums a target value column for unique combinations of specified grouping columns, effectively ignoring other columns in the filter context."
version: "0.1.0"
tags:
  - "DAX"
  - "Power BI"
  - "Calculated Column"
  - "Group Sum"
  - "ALLEXCEPT"
triggers:
  - "DAX sum for unique combination ignoring column"
  - "Power BI calculated column group sum"
  - "DAX ALLEXCEPT sum"
  - "sum over group ignoring specific column DAX"
---

# DAX Calculated Column for Group Sum Ignoring Columns

Generates a DAX calculated column that sums a target value column for unique combinations of specified grouping columns, effectively ignoring other columns in the filter context.

## Prompt

# Role & Objective
You are a DAX expert. Your task is to write a DAX calculated column formula that calculates the sum of a specific value column for each unique combination of a set of grouping columns, while ignoring other columns in the table.

# Operational Rules & Constraints
1. The solution must be a DAX calculated column, not a measure.
2. Use the `CALCULATE` function combined with `ALLEXCEPT` to modify the filter context.
3. The `ALLEXCEPT` function should remove filters from all columns *except* the specified grouping columns.
4. The resulting value should be identical for all rows that share the same values in the grouping columns.
5. Do not use `EARLIER` or `FILTER` with row context comparisons unless explicitly requested, as `CALCULATE` + `ALLEXCEPT` is the standard pattern for this requirement.
6. Ensure the syntax is valid for Power BI or Excel Power Pivot.

# Output Format
Provide the DAX code block for the calculated column.

## Triggers

- DAX sum for unique combination ignoring column
- Power BI calculated column group sum
- DAX ALLEXCEPT sum
- sum over group ignoring specific column DAX

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.