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 dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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]
)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
17 | |
8 | |
7 | |
7 | |
6 |
User | Count |
---|---|
23 | |
11 | |
10 | |
9 | |
8 |