Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I have created a matrix with a as below.
Answer is a mesure which is consists of several other measures.
Solved! Go to Solution.
Hi @PBI_SUPERUSER ,
Try to modify your formula like below:
answer =
VAR metric =
SWITCH (
SELECTEDVALUE ( 'Table'[DriverID] ),
1, [Table_Y1],
2, [Table_Y2],
3, [Table_Y3]
)
RETURN
IF (
ISFILTERED ( 'Table (2)'[Y-1] ),
CALCULATE (
metric,
FILTER ( ALLSELECTED ( 'Table (2)' ), NOT ISBLANK ( [Y-1] ) ),
ALLSELECTED ( 'Table (2)' )
),
metric
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @PBI_SUPERUSER ,
Try to modify your formula like below:
answer =
VAR metric =
SWITCH (
SELECTEDVALUE ( 'Table'[DriverID] ),
1, [Table_Y1],
2, [Table_Y2],
3, [Table_Y3]
)
RETURN
IF (
ISFILTERED ( 'Table (2)'[Y-1] ),
CALCULATE (
metric,
FILTER ( ALLSELECTED ( 'Table (2)' ), NOT ISBLANK ( [Y-1] ) ),
ALLSELECTED ( 'Table (2)' )
),
metric
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 40 | |
| 37 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 85 | |
| 70 | |
| 37 | |
| 28 | |
| 27 |