Forum Discussion
nielfxrm
7 years agoFrequent Visitor
Cumulative sum with multiple filters
Hi, I have created a running total DAX formula as below: RunningTotal =
CALCULATE(
SUM( Opportunity[Sales Price (DKK)] );
FILTER(
ALLSELECTED( Opportunity );
Oppor...
- 7 years ago
nielfxrm Please try changing the SUM function inside the CALCULATE as below:
SUMX(FILTER(Opportunity, Opportunity[Pipeline Category] = "Won"), Opportunity[Sales Price (DKK)])
PattemManohar
Community Champion
7 years agonielfxrm Please try changing the SUM function inside the CALCULATE as below:
SUMX(FILTER(Opportunity, Opportunity[Pipeline Category] = "Won"), Opportunity[Sales Price (DKK)])
- nielfxrm7 years agoFrequent Visitor
Thanks PattemManohar. That did the job.
I was trying to add the filter somewhere else in the formula.
Cheers.