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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.