Forum Discussion
Previuos Rows Value
- 6 years ago
Give a try to below measure:
MEasure = CALCULATE([Running Measure],SAMEPERIODLASTYEAR('Table'[Date]))
Or replace SAMEPERIODLASTYEAR with PREVOIUSYEAR().
Don't forget to give thumbs up 👍and accept this as a solution if it helped you.
Tahreem24
I don't have Date a column in my table, the year is a columns.. so i can't use the Sameperiod DAX Function in this issue. Thanks
- Tahreem246 years agoSuper User
What is the format of your Year column? or share on same value of your Year column.
Don't forget to give thumbs up 👍and accept this as a solution if it helped you.
- Suhel_Ansari6 years agoHelper V
The format is Whole Number, i can share the pbi file with sample data if you needed. Thanks
- Tahreem246 years agoSuper User
Please share your PBI file by masking confidential data if any.
Well, Year should be in Date format not a whole number. This is a catch for incorrect result.
Don't forget to give thumbs up 👍and accept this as a solution if it helped you.