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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
Solution Sage
Solution Sage

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
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors