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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Naveen29
Helper I
Helper I

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.