March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I have created a running total DAX formula as below:
RunningTotal = CALCULATE( SUM( Opportunity[Sales Price (DKK)] ); FILTER( ALLSELECTED( Opportunity ); Opportunity[Close Date] <= MAX( Opportunity[Close Date] ) ) )
That formula works. However, I would like to add the filter below as well - but I can't seem to get that working:
Opportunity[Pipeline Category] = "Won"
Any input is appreciated.
Solved! Go to Solution.
@nielfxrm Please try changing the SUM function inside the CALCULATE as below:
SUMX(FILTER(Opportunity, Opportunity[Pipeline Category] = "Won"), Opportunity[Sales Price (DKK)])
Proud to be a PBI Community Champion
I tried to following this method but get an error
If i remove the " ;" then it tells me the Fileter argument is incorrect
@nielfxrm Please try changing the SUM function inside the CALCULATE as below:
SUMX(FILTER(Opportunity, Opportunity[Pipeline Category] = "Won"), Opportunity[Sales Price (DKK)])
Proud to be a PBI Community Champion
Thanks @PattemManohar. That did the job.
I was trying to add the filter somewhere else in the formula.
Cheers.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
93 | |
86 | |
84 | |
77 | |
49 |
User | Count |
---|---|
160 | |
144 | |
103 | |
74 | |
57 |