Forum Discussion
kozlevchar
4 years agoResolver I
PREVIOUSYEAR not returning data
PREVIOUSYEAR (Doesn't fail but returns no data). The Date column in my Calander is set to "Date". Here's the formula: Spend PY = CALCULATE(SUMX('Key Measures', 'Key Measures'[Spend]) , PREVIOU...
- 4 years ago
Thank you for the reply. I kept working with it and when I took the SUMX out fo the formula it worked and now shows data. Don't quite understand why as I thought you had to use another formulas with CALCULATE.
Thanks,
John
littlemojopuppy
4 years agoCommunity Champion
Hi kozlevchar check that you have a date table and that it's marked as one. PREVIOUSYEAR is a time intelligence function and requires a date table in order to work properly.
kozlevchar
4 years agoResolver I
Hi,
Thank you for the reply. I have Date table and it's marked as a Date Table
- littlemojopuppy4 years agoCommunity Champion
kozlevchar can you share the pbix?