This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
ExposureA =
VAR Output = CALCULATE(SUM(TableA[value]),
FILTER(TableA, TableA[field] = "Asia" && TableA[id] = selectedvalue(TableB[id]))
)
RETURN Output
| field |
| Asia |
| North America |
| Europe |
| Africa |
Solved! Go to Solution.
Hi @WestWinter ,
According to your description, field and value are all in tableA, you want the measure filtered by the field slicer, you don’t need to write TableA[field]=””, just put field in slicer, it automatically works.
ExposureA =
CALCULATE (
SUM ( 'TableA'[Value] ),
FILTER ( 'TableA', 'TableA'[ID] = MAX ( 'TableB'[ID] ) )
)
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @WestWinter ,
According to your description, field and value are all in tableA, you want the measure filtered by the field slicer, you don’t need to write TableA[field]=””, just put field in slicer, it automatically works.
ExposureA =
CALCULATE (
SUM ( 'TableA'[Value] ),
FILTER ( 'TableA', 'TableA'[ID] = MAX ( 'TableB'[ID] ) )
)
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You should be able to use SELECTEDVALUE just like you do with [id].
ExposureA =
VAR Output =
CALCULATE (
SUM ( TableA[value] ),
FILTER (
TableA,
TableA[field] = SELECTEDVALUE ( SlicerTable[field] )
&& TableA[id] = SELECTEDVALUE ( TableB[id] )
)
)
RETURN
Output
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 38 | |
| 28 | |
| 27 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 37 | |
| 32 | |
| 26 | |
| 25 |