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

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.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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