Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I'm trying to display a month over month running total of production. I would like this to be able to be filtered by slicers and filters on the page, so calculating in the data source itself is not really an option. However, when I calculate the running total within PowerBI, it shows dates in the future, which is not what I'm looking for.
I don't seem to be able to attach images, but I've linked to before/after images as well as a PBIX file showing what I'm talking about. Thanks!
Solved! Go to Solution.
Hi , @SamKrygsheld
You can take a try to change your measure as below:
Widgets running total in Day =
IF(CALCULATE(COUNTROWS('Sheet1'))>0,
CALCULATE(
SUM('Sheet1'[Widgets]),
FILTER(
ALLSELECTED('Sheet1'[Date sold].[Day]),
ISONORAFTER('Sheet1'[Date sold].[Day], MAX('Sheet1'[Date sold].[Day]), DESC)
)),BLANK())
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi , @SamKrygsheld
You can take a try to change your measure as below:
Widgets running total in Day =
IF(CALCULATE(COUNTROWS('Sheet1'))>0,
CALCULATE(
SUM('Sheet1'[Widgets]),
FILTER(
ALLSELECTED('Sheet1'[Date sold].[Day]),
ISONORAFTER('Sheet1'[Date sold].[Day], MAX('Sheet1'[Date sold].[Day]), DESC)
)),BLANK())
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you so much, that worked perfectly!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |