Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
HI,
I"m unable to understand why this measure is not working...
SCENARIO :
I want to show the data of a table that contains 3 accounts 1) Grut 2)lik 3) jag
i have above 3 accounts and in the slicer i need to show Grut & jag ,
requirement 1- when i clicked on Grut it should show Grut and lik data
requirement 2- when i clicked on jag it should show jag and lik data..
I TRIED CREATING THIS MEASURE
selection = var sm=SELECTEDVALUE(table(col(grut,lik,jag))
Return if(sm="grut",filter(table,table(col)<>jag),if(sm="jag",filter(table,table(col)<>grut,"null")
and it showing as "The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value."
Please help me to resolve this and show the data
Solved! Go to Solution.
Hi, @Anonymous
Try the following steps:
1. enter a new table 'Slicer Table'
2. put a filter measure to your table visual filter pane
filter =
VAR a =
SWITCH (
SELECTEDVALUE ( 'Slicer Table'[Value] ),
"Grut", IF ( MAX ( 'Table'[Column] ) IN { "Grut", "lik" }, 1 ),
"jag", IF ( MAX ( 'Table'[Column] ) IN { "jag", "lik" }, 1 ),
0
)
RETURN
IF ( ISFILTERED ( 'Slicer Table'[Value] ), a, 1 )
Best Regards,
Community Support Team _ Eason
Hi, @Anonymous
Try the following steps:
1. enter a new table 'Slicer Table'
2. put a filter measure to your table visual filter pane
filter =
VAR a =
SWITCH (
SELECTEDVALUE ( 'Slicer Table'[Value] ),
"Grut", IF ( MAX ( 'Table'[Column] ) IN { "Grut", "lik" }, 1 ),
"jag", IF ( MAX ( 'Table'[Column] ) IN { "jag", "lik" }, 1 ),
0
)
RETURN
IF ( ISFILTERED ( 'Slicer Table'[Value] ), a, 1 )
Best Regards,
Community Support Team _ Eason
Thank you soo much for your valuable help😊
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 18 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 53 | |
| 47 | |
| 40 | |
| 38 |