Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello There,
I have an interesting scenario where in the i want to implement the RLS using a column which is having multiple Email delimited using pipe '|' symbol. Below is what it looks like
| Geo_ID | EmailAccess | |
| 12343 | emp1@office.com | emp2@office.com | emp3@office.com | |
| 23232 | emp1@office.com | emp4@office.com | emp10@office.com | |
| 34343 | emp5@office.com | |
| 32323 | emp3@office.com | emp9@office.com |
so basically i need to implement RLS by using EmailAccess Colum and all the emails delimited by '|' symbol should have access to relevant Geo_ID and this is sample data so we have to make it dynamic as data will keep on changing.
Is there any way in power BI to achieve this ?
p.s : i do not wish to split columns using delimitors and implement RLS, niether i want to use unpivot function to do the same as i do not want to change data structure. I am willing to do it using dax functions in Manage Roles itself.
Looking forward for some help and ideas,
Thanks and regards,
Malav Shelat
Solved! Go to Solution.
@shelatMalavR , Create a role using the below statement, Hope the table is joined with region dimension or with fact on region
search(userprincipalname(), [EmailAccess],,0) >0
Thank you Amit, it worked as expected.
@shelatMalavR , Create a role using the below statement, Hope the table is joined with region dimension or with fact on region
search(userprincipalname(), [EmailAccess],,0) >0
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |