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
Hello
I have a slicer, cotaining EURO, DOLLAR and LOCAL. This is from a table called CURRENCY TYPE.
I want to use this slicer to select certain columns from another table called INVOICES.
So if the slicer is on EURO , sum(column Euro Sales from INVOICES) , if DOLLAR , sum(column USD Sales from INVOICES) , Local Sales from INVOICES.
Any ideas would be greatly appreciated??
Thanks
Gavin
Solved! Go to Solution.
try this:
Measure =
VAR Currency =
SELECTEDVALUE ( CURRENCY_TYPE[<ColumnName>] )
RETURN
SWITCH (
TRUE (),
Currency = "EURO", [Euro Sum Measure],
Currency = "USD", [USD Sum Measure],
Currency = "Local", [Local Sum Measure]
)
try this:
Measure =
VAR Currency =
SELECTEDVALUE ( CURRENCY_TYPE[<ColumnName>] )
RETURN
SWITCH (
TRUE (),
Currency = "EURO", [Euro Sum Measure],
Currency = "USD", [USD Sum Measure],
Currency = "Local", [Local Sum Measure]
)
Thanks, Worked perfectly.
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 |
|---|---|
| 37 | |
| 29 | |
| 28 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 36 | |
| 29 | |
| 25 | |
| 24 |