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!
I am currently having trouble with a matrix row subtotal, I think it is because I can only do a single relationship between two tables, have tried only using Programa academico as well as a column concatenating both Modalidad & Programa academico(Which the subtotal I'm having trouble is Modalidad) but it isn't working.
Solved! Go to Solution.
Hi @Juanpablocl96 ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Measure =
IF(
NOT( HASONEFILTER('Table'[Modalidad])),
SUMX(
ALL('Table'),
[Meta])
,
IF(
HASONEVALUE('Table'[Program academico]),
MAX('Table'[Meta]),
SUMX(
FILTER(ALL('Table'),
'Table'[Modalidad]=MAX('Table'[Modalidad])),[Meta])))2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Juanpablocl96 ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Measure =
IF(
NOT( HASONEFILTER('Table'[Modalidad])),
SUMX(
ALL('Table'),
[Meta])
,
IF(
HASONEVALUE('Table'[Program academico]),
MAX('Table'[Meta]),
SUMX(
FILTER(ALL('Table'),
'Table'[Modalidad]=MAX('Table'[Modalidad])),[Meta])))2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 35 | |
| 24 | |
| 22 |
| User | Count |
|---|---|
| 136 | |
| 111 | |
| 58 | |
| 43 | |
| 38 |