Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
10 | |
6 |