Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi,
I have set up an income statement with four rows, total to date, year to date (for chosen month), chosen month and previous month. Year, month, specific project etc. is chosen with different filters.
Everything seems to be working perfectely besides for one thing: if the chosen month does not contain values on any of the rows, there will not be a value showing on that row for previous month either. Does anyone know how to fix this?
My formula for the provious month is:
I have set up the total row in the bottom with its own formula, so this is always correct.
Attached is an example. As you can see the first four rows (income) contains values for the previous month, it does not show however.
Solved! Go to Solution.
Finally solved my problem.
Showed out the reason for my problem was that I had a two-way relation between my date-table and Fact table. When I changed this to a one-way connection everything worked out.
So seems like the two-way relation made the Fact table filter my previousmonth()-formula in my matrix for detail lines where the value for the current month was zero. Might make sense when I think of it, but took me a long time to realise...
Finally solved my problem.
Showed out the reason for my problem was that I had a two-way relation between my date-table and Fact table. When I changed this to a one-way connection everything worked out.
So seems like the two-way relation made the Fact table filter my previousmonth()-formula in my matrix for detail lines where the value for the current month was zero. Might make sense when I think of it, but took me a long time to realise...
Where
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
31 | |
16 | |
12 | |
10 | |
8 |
User | Count |
---|---|
59 | |
20 | |
12 | |
11 | |
10 |