The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Greeting guys ,
i have a quick question , my client changed his extraction of data he wants to allow the user to see only offer that have access to it.
to get this information i have a column name "access".
The problem "access" column have a list of emails !
Example : Access = "[xxxx@xx.com] , [bbbbb@bbb.com]" as you can see the column access could have more than 1 email.
any trick i can use in the RLS ?
in the previous version of the data it was simple there was only 1 mail in the column so all i need to use the USERPRINCIPALNAME() but now the column contain more than 1 mail !
Thanks all in advance
Solved! Go to Solution.
Hi @Ramyzo ,
We can create a RLS rules using CONTAINSSTRING function to meet your requirement:
CONTAINSSTRING([Access],USERPRINCIPALNAME())
If it doesn't meet your requirement, Please show the exact expected result based on the Tables that we have shared.
Best regards,
Hi @Ramyzo ,
We can create a RLS rules using CONTAINSSTRING function to meet your requirement:
CONTAINSSTRING([Access],USERPRINCIPALNAME())
If it doesn't meet your requirement, Please show the exact expected result based on the Tables that we have shared.
Best regards,
User | Count |
---|---|
86 | |
84 | |
36 | |
34 | |
30 |
User | Count |
---|---|
92 | |
79 | |
66 | |
55 | |
52 |