Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi,
Have created table containing month cummlative budget vs. cummlative actual.
Below is table Achv. is for Apr-Sep (6 Months)
above is working absolutely fine till we select filter , results when we selecte a particular category in slicer
it is showing till sep only which is ok for actual but we want budget nos. for complete year,
So running totals are adjusted to Month of Actual data instead full year,
Pls guide
Solved! Go to Solution.
Hi @RI ,
I think your table should look like as below.
Then add a Calendar table.
Calendar =
ADDCOLUMNS (
CALENDAR ( DATE ( 2023, 04, 01 ), DATE ( 2024, 03, 31 ) ),
"Year", YEAR ( [Date] ),
"MonthSort", MONTH ( [Date] ),
"Month", FORMAT ( [Date], "MMM" )
)
Data model:
Measure:
Actual = CALCULATE(SUM('Table'[Acutal]),FILTER(ALL('Calendar'),'Calendar'[Date]<=MAX('Calendar'[Date])))Budget = CALCULATE(SUM('Table'[Budget]),FILTER(ALL('Calendar'),'Calendar'[Date]<=MAX('Calendar'[Date])))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @RI ,
I think your table should look like as below.
Then add a Calendar table.
Calendar =
ADDCOLUMNS (
CALENDAR ( DATE ( 2023, 04, 01 ), DATE ( 2024, 03, 31 ) ),
"Year", YEAR ( [Date] ),
"MonthSort", MONTH ( [Date] ),
"Month", FORMAT ( [Date], "MMM" )
)
Data model:
Measure:
Actual = CALCULATE(SUM('Table'[Acutal]),FILTER(ALL('Calendar'),'Calendar'[Date]<=MAX('Calendar'[Date])))Budget = CALCULATE(SUM('Table'[Budget]),FILTER(ALL('Calendar'),'Calendar'[Date]<=MAX('Calendar'[Date])))
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You have to upload some example table of your underlaying data. I think you will need a second table for the date to
get the complete year in the table
Proud to be a Super User!
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 64 | |
| 58 | |
| 31 | |
| 25 | |
| 25 |