Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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.
User | Count |
---|---|
123 | |
69 | |
67 | |
58 | |
52 |
User | Count |
---|---|
185 | |
92 | |
67 | |
62 | |
52 |