Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
46 | |
27 | |
21 | |
12 | |
8 |
User | Count |
---|---|
75 | |
52 | |
46 | |
15 | |
12 |