Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I would like to set up RLS with multiple values in the table filter, I tried this but it would not work:
[Column] = "Value1" && [Column] = "Value2"
Please help. thank you.
Solved! Go to Solution.
@mimitan When you are trying to give logical operators in RLS filters AND,OR does not work you will have to make use of IN keyword
eg:[Salescountry] IN {IN,CN,PH}
[Salescountry] ="CN" || [Salescountry] ="PH"
Hope it resolves your issue? Please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos, Press the thumbs up button!!👍
You can check this video, which clearly explains how to solve this issue.
I hope I can help.
Best regards
Hi everyone,
thank you for alll your inputs. My aim was to have 1 role with 2 filtered values.
The quick solution I got was to just separate roles and add one person to both roles so he can access two RLS.
Is it possible to have 1 role with 2 filters? for example column is countries, 1 roles for 2 countries?
@mimitan Yes it is possible you can make use of my example
[Salescountry] IN {IN,CN}-->Change IN & CN according to your data
Hope it resolves your issue? Please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos, Press the thumbs up button!!👍
@mimitan When you are trying to give logical operators in RLS filters AND,OR does not work you will have to make use of IN keyword
eg:[Salescountry] IN {IN,CN,PH}
[Salescountry] ="CN" || [Salescountry] ="PH"
Hope it resolves your issue? Please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos, Press the thumbs up button!!👍
This is not working. I tried but it says syntax error
@mimitan , Try like
[Column] in { "Value1" , "Value2"}
Same time you can not have two different value true
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
97 | |
75 | |
63 | |
53 |
User | Count |
---|---|
139 | |
100 | |
95 | |
85 | |
63 |