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.
Hi,
I have this dax formula to accumulate the value over time periods:
amount accum. = calculate(sum(fact[amount]), filter(all(periods);Periods[Period] <= max(Periods[Period])))
it calculates correctly, but if I put it in a matrix table it does not show a value if there is no entry in the period.
So, it shows like this:
Account 201701 201702 201703 201704 Total
1 500 800 1000 1000
2 1000 1200 1800 1800
3 600 700 700
Ttl 2000 2300 2700 3500 3500
How to get a value in each cell, also for periods where there is no entry on the account?
Thanks,
Johan
Solved! Go to Solution.
I understand the method you're using. Dates would be better then period numbers.
Still for the accumulated (running total) function it should not differ whether it's a date or any sequential number.
I've been playing around with an extreme simple example and found out it has to do with the relationship type. If I set it to both it only shows the numbers in the period / months with entries, if I put it to single it sets the value in all periods. I've no clue why, not sure if it's a bug or feature.
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 |
---|---|
113 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |