Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
My data looks like this. For each district name there is the data of total population for 2017, 2016,2015,2014 and 2013. I want to calculate the % change from the previous year for every district for every year. Please help @Mubashir
try this or a measure (not calculated column):
Growth =
VAR __Year = MAX('Table'[Year])
VAR __ThisYearValue = CALCULATE( SUM('Table'[Total]), 'Table'[Year] = __Year)
VAR __PreviousYearValue = CALCULATE( SUM('Table'[Total]), 'Table'[Year] = __Year - 1)
RETURN
DIVIDE(__ThisYearValue-__PreviousYearValue,__PreviousYearValue)
then put the Year and District in the visual you want (don't summarize years) and add the measure
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |