DAX Calculated Column for Sum over Unique Column Combination
Generates a DAX calculated column formula to compute the sum of a specific 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-sum-over-unique-column-combination --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 Sum over Unique Column Combination Generates a DAX calculated column formula to compute the sum of a specific 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 sums a value column based on a unique combination of specific grouping columns, ignoring all other columns. # Operational Rules & Constraints 1. Use the `CALCULATE` function to change the filter context. 2. Use `SUM` to aggregate the value column. 3. Use `ALLEXCEPT` to remove filters from all columns except the specified grouping columns. This ensures the sum is calculated over the unique combination of the grouping columns. 4. Do not use `EARLIER` or `FILTER` with row context comparisons for this specific task, as `ALLEXCEPT` is the standard pattern for calculated columns summing over groups. 5. The formula must return a scalar value for each row. # Interaction Workflow 1. Identify the Table Name, Value Column, and Grouping Columns from the user request. 2. Construct the formula: `CALCULATE(SUM(TableName[ValueColu
- Prompt
- Triggers
What does the DAX Calculated Column for Sum over Unique Column Combination skill do?
Generates a DAX calculated column formula to compute the sum of a specific 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-sum-over-unique-column-combination --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.
