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.
Hi,
I'm looking to createa measure that averages the totals from the past 5 years (not including current year) and then compares against average of the total of current year e.g.:
(Average of total spend 2017, total 2018, total 2019, total 2020, total 2021), Current year spend (2022), % difference of both.
e.g based on below table:
(Average total spend 2017 (20000+5000), 2018 (15000), 2019 (16000), 2020 (14500), 2021 (8000)) = 15700
Current year spend = 10000
% difference of average last 5fy (15700) and Current year (10000) = 44.3%
Project name | Year | Spend |
Proj1 | 2017 | 20000 |
Proj2 | 2017 | 5000 |
Proj3 | 2018 | 15000 |
Proj4 | 2019 | 1000 |
Proj5 | 2019 | 15000 |
Proj6 | 2020 | 7000 |
Proj7 | 2020 | 7500 |
Proj8 | 2021 | 8000 |
Proj9 | 2022 | 10000 |
Solved! Go to Solution.
Make it dynamic for fun,
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Make it dynamic for fun,
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Hello
M1==>
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 |
---|---|
96 | |
95 | |
80 | |
74 | |
66 |
User | Count |
---|---|
130 | |
106 | |
105 | |
86 | |
72 |