Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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]
)