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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Brysonds
Helper III
Helper III

Role Security Filter Question

Hi!

 

I am implementing RLS on my data set, and have a (hopefully) simple question.

 

I have one role, one table, and one table filter expression

 

Role = Auth required

Table = Invoices

Expression = OR([Sales Position]=USERNAME(), [Management Chain]=USERNAME())

 

The "Sales Position" field contains one e-mail address for the sales person (example: [email protected]). RLS works fine here when I view the data as Bob.

 

The "Management Chain" field contains multiple e-mail addresses based on an organizational structure and is stored in the following format (example: [email protected]; [email protected]; [email protected]). RLS does not work here if I try to view as any one of those users.

 

I believe it has to do with the formatting of using several e-mail addresses split by a semi-colon. 

 

Is there a way to make this work with the multiple e-mail addresses in one field? I tried chaing the semi-colon to a comma, but that didn't work either. 

 

I could always delimit the values into multiple columns (chain 1, chain 2, etc.) and get it work that way, but was hoping there is a simple formatting solution that will work.

 

Regards,

Bryson

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hey @Brysonds,

 

I would recommend using the SEARCH column to see if USERNAME() is contained within the Management Chain field. 

 

-Parker

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Brysonds,

 

I also agree with Parker_Stevens.

 

Have you solved your problem?

 

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hey @Brysonds,

 

I would recommend using the SEARCH column to see if USERNAME() is contained within the Management Chain field. 

 

-Parker

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors