Forum Discussion
gregor
9 years agoFrequent Visitor
Sum by Value in other Column
Hi, I have a dataset that looks like this and I am trying to do the following: I want to have the sum of all Values in (Column D) when Column B = 'Income 1' e.g. for a certain ID-Number 1001...
- 9 years ago
Hi gregor,
Then you add [income] column in ALLEXCEPT function.changed_Column = CALCULATE(SUM(Test1[Column D (Value)]),ALLEXCEPT(Test1,Test1[Column A (ID-Number)],Test1[Column B (Income)]))
Please see the following screenshot.
Best Regards,
Angelia
v-huizhn-msft
9 years agoMicrosoft Employee
Hi gregor,
Then you add [income] column in ALLEXCEPT function.
changed_Column = CALCULATE(SUM(Test1[Column D (Value)]),ALLEXCEPT(Test1,Test1[Column A (ID-Number)],Test1[Column B (Income)]))
Please see the following screenshot.
Best Regards,
Angelia
gregor
9 years agoFrequent Visitor