Forum Discussion

soderqvistn's avatar
soderqvistn
Helper I
6 years ago

Calculating previous year

Hey community!

 

 

Could you perhaps assist me on this one? I want to calculate previous year years value. Problem is that it only works when I have 2 years selected, I tryed both SAMEPERIODLASTYEAR() and PREVIOUSYEAR(). As you can see in the following pictures it works fine and gives me correct answer when I chose 2 years in the slicer but not if I only selected one year. I would like it to show previoys years values when I onyl selected one.

 

1 Reply