Forum Discussion

nielfxrm's avatar
nielfxrm
Frequent Visitor
7 years ago
Solved

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...
  • PattemManohar's avatar
    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)])