Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
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.
Do you have a dedicated Date table?
@Anonymous
Yes I do. That is where the month and year dimensions referenced would be coming from.
try this measure:
Total Sales = SUM( 'Fact Sale'[Total Sales]) Running Total Sales = CALCULATE( [Total Sales], FILTER( 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.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
68 | |
67 | |
44 | |
42 |
User | Count |
---|---|
47 | |
38 | |
28 | |
27 | |
27 |