Forum Discussion
nielfxrm
8 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...
- 8 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
8 years agonielfxrm Please try changing the SUM function inside the CALCULATE as below:
SUMX(FILTER(Opportunity, Opportunity[Pipeline Category] = "Won"), Opportunity[Sales Price (DKK)])
nielfxrm
8 years agoFrequent Visitor
Thanks PattemManohar. That did the job.
I was trying to add the filter somewhere else in the formula.
Cheers.