Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Not applicable

YTD over multiple years

What I would like to display is a matrix by month. I would then have a filter for year. Both the month and year dimensions would come from my calendar table.


So in the matrix for January, I would want the amount that shows up to be the sum of all the January amounts for the years I have selected in the year filter.


Then for February, I would want to do the same as described above, but also add the amounts for January to it, hence the YTD piece.


Then March would include both January and February as well, but for all years I have selected in my filter.

Not applicable

Do you have a dedicated Date table?

Not applicable



Yes I do. That is where the month and year dimensions referenced would be coming from.

Not applicable

try this measure:


Total Sales = SUM( 'Fact Sale'[Total Sales])

Running Total Sales = 
        [Total Sales], 
                ALL( DimCalendar), 
                    MAX( DimCalendar[Month]) >=DimCalendar[Month]
        ,VALUES( DimCalendar[Year])

This assumes you have a Month Number column in your date table, as well as a Year column. 

YTD by Month and filters on years.png


Helpful resources

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.


Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.


Fabric certifications survey

Certification feedback opportunity for the community.