Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I have a years dimension table and I want to calculate a KPI wich is the difference between the value of an another KPI value in a year minus its value the year before:
KPI2 = KPI1(YearN) - KPI(YearN-1)
Any help how to do it?
Thank you
Solved! Go to Solution.
Hello @Wattar ,
You may use Time Intelligence DAX for this: PARALLELPERIOD or DATEADD
KPI 2 =
VAR KPI1 = [measure]
VAR KPI1PrevYear =
CALCULATE([measure], PARALLELPERIOD([date],-1,"Year"))
VAR Diff = KPI1 - KPI1PrevYear
RETURN
Diff
Cheers!
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/
Connect on LinkedIn
Hello @Wattar ,
You may use Time Intelligence DAX for this: PARALLELPERIOD or DATEADD
KPI 2 =
VAR KPI1 = [measure]
VAR KPI1PrevYear =
CALCULATE([measure], PARALLELPERIOD([date],-1,"Year"))
VAR Diff = KPI1 - KPI1PrevYear
RETURN
Diff
Cheers!
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/
Connect on LinkedIn
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |