Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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==>
User | Count |
---|---|
94 | |
87 | |
79 | |
76 | |
69 |
User | Count |
---|---|
116 | |
107 | |
88 | |
64 | |
63 |