Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.