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
Hi all,
I have a matrix where I calculate a value for each cell, and I need the total to be the sum of the values shown on the matrix.
This is the measure that is being used in the matrix:
Solved! Go to Solution.
@Anonymous
Sorry I missed to wrap MEDIAN with CALCULATE
for some reason its still not summing up to the correct values:
@Anonymous
Sorry I missed to wrap MEDIAN with CALCULATE
Perfect! Thank you so much
Hi @Anonymous
please try
Oportunidade =
SUMX (
SUMMARIZE (
'Reajuste coletivo',
'Reajuste coletivo'[column in rows of the matrix],
'Reajuste coletivo'[column in columns of the matrix]
),
[Delta KPI]
* CALCULATE (
SUMX ( 'Reajuste coletivo', 'Reajuste coletivo'[VL_OBRIGACAO_MES_CONTRATO] ),
'Reajuste coletivo'[DT_REFERENCIA] = "2023"
)
* MEDIAN ( 'Reajuste coletivo'[REAJUSTE] ) * 12 / 100
)
Hi,
The column in the rows of the matrix is in another table, so the summarize part is not working.
@Anonymous
In this case you can use
CROSSJOIN ( VALUES ( Table1[Column] ), VALUES ( Table2[Column] ) )
for some reason its still not summing up to the correct values:
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 |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |