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.
Hello. I am struggling with a certain calculation for a measure. I have a table which has data like below:
Date | Name | Value |
11/1/2019 | Gas | 128 |
12/1/2019 | Gas | 111 |
1/1/2020 | Gas | 89 |
2/1/2020 | Gas | 131 |
11/1/2019 | Solid | 330 |
12/1/2019 | Solid | 364 |
1/1/2020 | Solid | 396 |
2/1/2020 | Solid | 412 |
I would like to create a YTD Average of Year over year % calculation. I made the YoY% as a measure, however it seems I cannot use a measure for average in another measure.
What I had so far was:
I am not quite sure how to utilize DAX to create this measure. Any help would be appreciated.
Thanks!
@Anonymous ,
Can you change the measure YoY% to calculate column? If you can't, could you show the expression of this measure?
Regards,
Jimmy Tao
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 |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |