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 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:
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
29 | |
18 | |
15 | |
7 | |
6 |