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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I'm Trying to create a DoD and DoD % Change KPI, to go along with my YoY KPI and YoY change. I was able to create a Decade column on my date table using the following DAX code (if someone has a better one do share)
LYNationWideRatio = CALCULATE([NationWideHomePriceRatio], SAMEPERIODLASTYEAR(DateDimension[Date]))
%YoYNationWideRatio = DIVIDE([DiffNationWideRatio], [LYNationWideRatio], 0)
Solved! Go to Solution.
Hi Arnabi,
To calculate DoD we can use datesbetween in a calculate function. Here is how I would approach this:
My test data:
I created the decade column the same way you made it:
For DoD calculation I used the following DAX:
Hopefully this helps and if it does consider accepting this as a solution!
Proud to be a Super User!
Hi Arnabi,
To calculate DoD we can use datesbetween in a calculate function. Here is how I would approach this:
My test data:
I created the decade column the same way you made it:
For DoD calculation I used the following DAX:
Hopefully this helps and if it does consider accepting this as a solution!
Proud to be a Super User!
I greatly appreciate it...it worked beautifully
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 19 | |
| 17 | |
| 11 |