Forum Discussion
Calculating % Variance between YTD & LYTD
- 8 years ago
Hi,
You will have to select a month for the TOTALYTD() function to work. Only then will it know where it has to sum till. If your Financial Year starts on July 1 and you select October as the month in the filter/slicer, your measure will sum up the numeric column from JUly 1 to October 31.
- 8 years ago
Thanks Ashish_Mathur.
After some further investigating (aka messing around) I have realised that if i select the three months in this FY to date in a visual level filter the variance and % variance results work.
Can someone help me with some DAX code to ensure that my variance and % variance measures will work so that I don't need to use the month visual level filter.
Thanks :)
Hi,
You will have to select a month for the TOTALYTD() function to work. Only then will it know where it has to sum till. If your Financial Year starts on July 1 and you select October as the month in the filter/slicer, your measure will sum up the numeric column from JUly 1 to October 31.
- lnjwilliamson868 years agoFrequent Visitor
Thanks Ashish_Mathur.
- Ashish_Mathur8 years ago
Super User
You are welcome.