Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a budget , an actuals and a date table which i am using to show a monthly Cumulative line chart for monthly budget vs actual data.
i have added the the follwing measure for a budget Cumulative value which works great as i have a value for each month :-
Cumulative Budget =
CALCULATE(SUM('ExcelBudget'[Budget]), Filter(ALL('Date'), 'Date'[Month] <= MAX('ExcelBudget'[Month])))
I have the same formula for the actuals cummulative value :-
Cumulative Net =
CALCULATE(SUM('tbFactProspectWon'[NetPrice]), Filter(ALL('Date'), 'Date'[Month] <= MAX('tbFactProspectWon'[DatePaidMonth])))
the problem i am having is that if there are no actual values for a given month, no results are showing :-
Month Budget Budget Cumulative Actual Actual Cumulative
1 1000 1000 2000 2000
2 1000 2000 1500 3500
3 1000 3000
4 1000 4000 1500 5000
5 1000 5000 1000 6000
6 1000 6000 1000 7000
7 1000 7000 1000 8000
how can i force the records to show as follows :-
Month Budget Budget Cumulative Actual Actual Cumulative
1 1000 1000 2000 2000
2 1000 2000 1500 3500
3 1000 3000 3500
4 1000 4000 1500 5000
5 1000 5000 1000 6000
6 1000 6000 1000 7000
7 1000 7000 1000 8000
Solved! Go to Solution.
Please try with following measure formula.
Cumulative Net = CALCULATE ( SUM ( 'tbFactProspectWon'[NetPrice] ), FILTER ( ALL ( 'Date' ), 'Date'[Month] <= MAX ( 'Date'[Month] ) ) )
Best Regards,
Herbert
Please try with following measure formula.
Cumulative Net = CALCULATE ( SUM ( 'tbFactProspectWon'[NetPrice] ), FILTER ( ALL ( 'Date' ), 'Date'[Month] <= MAX ( 'Date'[Month] ) ) )
Best Regards,
Herbert
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
64 | |
59 | |
56 |