Forum Discussion
IF
Post Prodigy
5 years agoPrevious year December value
Hi I want to show the value of December previous year. I followed the steps that is posted but couldn't get the result. here is the measure: MeasureValue1 = CALCULATE(SUM('Table'[value1]),FILTER(...
- 5 years ago
you can try this
Measure = VAR yr=right(SELECTEDVALUE('Table'[Month.Year]),4)-1 return SUMX(FILTER(all('Table'),'Table'[Month.Year]="12."&yr),'Table'[value1])please kindly check the below pbix file.
ryan_mayu
Super User
5 years agoyou can try this
Measure =
VAR yr=right(SELECTEDVALUE('Table'[Month.Year]),4)-1
return SUMX(FILTER(all('Table'),'Table'[Month.Year]="12."&yr),'Table'[value1])
please kindly check the below pbix file.