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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.