Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
62 | |
52 | |
39 | |
24 |
User | Count |
---|---|
84 | |
57 | |
45 | |
42 | |
37 |