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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello,
I've been trying for a while to resolve this measure. Can you help me?
I want to calculate a measure that estimate the average cost of a "place" for each month et a total of year.
| Janvier | Fevrier | Mars | Avril | Mai | Juin | JUillet | Août | Sept | Oct | TOTAL | |
| Réel | 254 897 | 293 704 | 335 793 | 277 280 | 264 968 | 324 731 | 220 378 | 220 085 | 311 416 | 249 253 | 2752 504 € |
| [81 - Agréments] | 64 | 64 | 64 | 64 | 64 | 64 | 64 | 64 | 68 | 68 | 68 |
| [266 - Coût net /agrément) | 3983 | 4589 | 5247 | 4332 | 4140 | 5074 | 3443 | 3439 | 4580 | 3665 | 40 478 € |
| Agrément (ratio) | 64 | 64 | 64 | 64 | 64 | 64 | 64 | 64 | 68 | 68 | 648 |
| Coût net à la place total | 3982 | 4589 | 5246 | 4332 | 4140 | 5073 | 3443 | 3438 | 4579 | 3665 | 4247 € |
As for now, I show in my report the first 3 lines (in pink). For each month, it works fine but the total is incorrect as I wanted him to divide the total of "charges" by the maximum value of "agrément".
SO I've been trying to have a measure that sum each month (lines in yellow) : it nows calculates an average (by month) instead of a total.
The expected answer is 42 492 €.
What am I missing?
Thank you very much for your answer !!!
Solved! Go to Solution.
Hi @Audrey_ADAPEI35 ,
Add a new measure with the following code:
Coût net à la place total Overall =
SUMX(VALUES(Table[Month]),
[Coût net à la place total]
)
This will pick up the value of your last measure and just sum it across the months
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThank you very much ! It works! 🙂 Have a great day !
Hi @Audrey_ADAPEI35 ,
Add a new measure with the following code:
Coût net à la place total Overall =
SUMX(VALUES(Table[Month]),
[Coût net à la place total]
)
This will pick up the value of your last measure and just sum it across the months
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThe Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 71 | |
| 45 | |
| 34 | |
| 28 | |
| 23 |
| User | Count |
|---|---|
| 143 | |
| 121 | |
| 59 | |
| 40 | |
| 33 |