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

Get Fabric certified for FREE! Don't miss your chance! 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.