Forum Discussion
PowerRocky12
4 years agoHelper I
YTD Multi Year Comparison
Hey, I am hoping someone can help me. This slicer would filter my tables to show YTD for all fiscal years within that table or chart. I haven't found anything that has really worked. I have attac...
- 4 years ago
I used this formula and got my expected results:
YTD Amount =VAR _SOY="04/01/" & YEAR(TODAY())VAR _DOY=DATEDIFF(_SOY,TODAY(),DAY)VAR SPPY=CALCULATE(sum('Table'[Amount]),FILTER('Calendar','Calendar'[Day of Fiscal Year Number]<=_DOY))RETURNSPPY
ribisht17
4 years agoSuper User
Please check this one Solved: YTD comparison of different years - Microsoft Power BI Community
Regards,
Ritesh
PowerRocky12
4 years agoHelper I
Hey, thanks but the PBIX file was deleted in the link