Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi, i need help to calculate a formula. Sum the months of same value in dax
i need this result:
=sum (MonthValue *MonthsApply) / total months
In this example, would be:
=((1000*2)+(2000*1)+(2500*2)) / 5
Month | Value |
Jan | 1000 |
Fev | 1000 |
Mar | 2000 |
Apr | 2500 |
May | 2500 |
Solved! Go to Solution.
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! |
Hi @felipesaw
this is the same as ( 1000 + 1000 + 2000 + 2500 + 2500 ) / 5 which equals to
AVERAGEX (
VALUES ( 'Table'[Month] ),
[Value Measure]
)
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
25 | |
18 | |
17 | |
17 | |
16 |
User | Count |
---|---|
28 | |
27 | |
18 | |
14 | |
14 |