Forum Discussion
Help to calculate the difference between two years
- 5 years ago
Anonymous , In case you have selected a year or something from calendar table , then prefer to use all in calendar filter
2014 Average = CALCULATE(AVERAGE('Strategic Projects'[Local Content (%)]),filter(all('Calendar'),'Calendar'[Date]="2014"))
2020 Average = CALCULATE(AVERAGE('Strategic Projects'[Local Content (%)]),filter(all('Calendar'),'Calendar'[Date]="2014"))
2020 to 2014 difference = [2020 Average]-[2014 Average]
Anonymous , In case you have selected a year or something from calendar table , then prefer to use all in calendar filter
2014 Average = CALCULATE(AVERAGE('Strategic Projects'[Local Content (%)]),filter(all('Calendar'),'Calendar'[Date]="2014"))
2020 Average = CALCULATE(AVERAGE('Strategic Projects'[Local Content (%)]),filter(all('Calendar'),'Calendar'[Date]="2014"))
2020 to 2014 difference = [2020 Average]-[2014 Average]