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
I am working on to get running sum for cost that doesn't reset on year. I got one formula working but, for some reason it doesn't start with correct number as shown below:
there are no cost before 2017 but running sum line starts from 2014 with some constant cost. please help me figure out what I am doing wrong?
DAX:
Solved! Go to Solution.
yes, AllSELECTED formula works! Also, I made a booboo with date format. (facepalm)
thank you.
on the side note:
If change the formula as shown below, then the chart starts with correct year and amount, however, it doesn't do the running sum.
Just curious, can you try and see if this works ...
CALCULATE([project_cost_total],
FILTER(ALLSELECTED(effective_date),
effective_date[Date] <= MAX(effective_date[Date])
)
)
Or
CALCULATE([project_cost_total],
FILTER(ALL(effective_date),
effective_date[Date] <= MAX(effective_date[Date])
)
)
yes, AllSELECTED formula works! Also, I made a booboo with date format. (facepalm)
thank you.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
18 | |
15 | |
9 | |
8 |
User | Count |
---|---|
37 | |
32 | |
21 | |
16 | |
14 |