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! Get ahead of the game and start preparing now! Learn more
Hello,
i have used a matrix visual to have, to have hierarchys on my columns. On the column i have the producs and producs type. ase i have used average formulas i don't have the same amount on the sub total.
exemple :
Type 2 25000
Product A 15000
Product B 2000
Product C 6000
How can i have the addition of the values in the visible or displayed rows on my matrix visual ?
Thank you in advance
Solved! Go to Solution.
What your looking for is a semi additive avarge where by the avarge is still calculated for the the individual products but a sum for the type.
I asumme your measure currently is measure = Avarege([Value])
--Wrap your avarge in an SumX with the table section, values that of the second level 2 of your hieracy in this case product.
there is a good article opn these measures
https://sqlkover.com/calculate-a-semi-additive-average-in-dax/
Proud to be a Super User!
What your looking for is a semi additive avarge where by the avarge is still calculated for the the individual products but a sum for the type.
I asumme your measure currently is measure = Avarege([Value])
--Wrap your avarge in an SumX with the table section, values that of the second level 2 of your hieracy in this case product.
there is a good article opn these measures
https://sqlkover.com/calculate-a-semi-additive-average-in-dax/
Proud to be a Super User!
Thank you it worked !
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 124 | |
| 101 | |
| 67 | |
| 49 |