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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Naveen29
Helper II
Helper II

DAX Help

I have matrix visual which is having the combination of the FY, YTD ,MTD measures . The FY sales data should be whole year data regardless of the what you select in the slicer values (Year, Month)

 

FY Sales = CALCULATE (Sales, DATESYTD(ftcalendar[Date],"12/31")) - This should be constant value regardless of the Year, Month selection. This is not giving exact results. What is the best calucation for FY and previous financail year calucation measures.

 

 

1 ACCEPTED SOLUTION

I found the solution. FY Sales = TOTALYTD=(SALES, ENDOFYEAR(CALENDARDATE))

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Not sure if this is what you're looking for:

elofstrom_0-1644003228249.png

ALLEXCEPT – DAX Guide

sirlanceohlott
Advocate III
Advocate III

You could apply an ALL filter to the measures so they are not affected by the slicers you've mentioned. 

 

https://dax.guide/all/

I tried this option however it is not working

I found the solution. FY Sales = TOTALYTD=(SALES, ENDOFYEAR(CALENDARDATE))

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.