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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

RLS Security with columns that contains specific words

Hi, I'm trying to implement RLS into a Power BI report that contains specific words. I have a column that is responsible for descriptions, in those descriptions are key words that would be used to implement RLS. 

 

Is there any DAX I could use to implement a find or contain or if function I can use in an RLS filter?

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

The function CONTAINSSTRING should work for this purpose.

 

An RLS filter might look something like this:

CONTAINSSTRING ( Table1[Description], "keyword" )

View solution in original post

3 REPLIES 3
AlexisOlson
Super User
Super User

The function CONTAINSSTRING should work for this purpose.

 

An RLS filter might look something like this:

CONTAINSSTRING ( Table1[Description], "keyword" )
Anonymous
Not applicable

This is perfect! Thank you.

DataVitalizer
Super User
Super User

Hi @Anonymous 

Take a look here https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

 

Did it work ? 👌Mark it as a solution to help spreading knowledge 👉A kudos would be appreciated

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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