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.
npx skills add ECNU-ICALK/AutoSkill --skill dax-calculated-column-for-group-sum-ignoring-columns --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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. ##
- Prompt
- Triggers
What does the DAX Calculated Column for Group Sum Ignoring Columns skill do?
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.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill dax-calculated-column-for-group-sum-ignoring-columns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
