Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Parallelperiod ,dateadd is not working

Hello,

     I have been trying to get the previous month sales based on the year selection . But Dax seems to be correct but i am not getting any values except blanks . I tried with Parallelperiod , Dateadd ,sameperiodlast Still getting the blank instead of sum of sales . Could you please let me know where am i going wrong here ? w

 

 

Prev.Yr Month Sales = CALCULATE(SUM(Orders[Sales]),SAMEPERIODLASTYEAR(Orders[Order Date]))

2 Replies