Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

RLS

Hi, I would like to create a role in Row Level Security where a user can see both countries, Germany and France. How do I write the expression?

 

Many thanks!

 

 

1 ACCEPTED SOLUTION
Smalfly
Responsive Resident
Responsive Resident

Hi @Anonymous ,

 

you can use:

 

Tablename[Country] = "Germany" || Tablename[Country] = "France"

 

where || means OR so the user will see the data if Country is Germany or France.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@Smalfly Thank you!!

Smalfly
Responsive Resident
Responsive Resident

You're welcome, I'm glad I could help.

Smalfly
Responsive Resident
Responsive Resident

Hi @Anonymous ,

 

you can use:

 

Tablename[Country] = "Germany" || Tablename[Country] = "France"

 

where || means OR so the user will see the data if Country is Germany or France.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.