The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I have a DAX formula to accumulate the value, running total, and the different total overtime periods:
R-Acc is the running total of Acc, R-Com is the running total of Com. Remaining is the difference of two running total.
If there is no data in May, the Remaining doesn't show the prior value, the column total is also blank at the right end.
Com measure is similar to Acc, just filtering another value in the same field
I tried to use a max(date) to limit the display range, but it doesn't make any change.
Any thoughts would be very gratefully received.
Thanks!
@leahYan - Extremely difficult to follow. If I am reading this correctly, I am thinking this is what you need: https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/m-p/...
But, I could be majorly off. But, it looks like you are fighting with a matrix and that is a way to specifically control a matrix.
Hi Greg_Deckler,
Thank you for your reply, but I am afraid that's not the issue. The issue is when a month has no data in Acc or Com, the running total of Acc or Com is blank too, which is expecting to show the same value of the previous month.
I read other solutions for missing values in the running total, and most of them can be solved by refer to a continuous date column in the calendar table instead of the date column in the fact table.
I applied that in my data model, but it couldn't solve my problem.
thank you very much.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
80 | |
79 | |
48 | |
39 |
User | Count |
---|---|
149 | |
115 | |
67 | |
64 | |
58 |