This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I have a mapping table that maps Users to the IDs that they have access to in my report. I then join this table to my main table in Power BI and then set up a role for my Row Level Security. This works great.
But now I need the security based on the possiblity of that ID in multiple columns on each row. For example if any of the 3 ID fields is 567, the person with access to that ID can see all of those rows. So basically it needs to be if ID=567 or ID2=567 or ID3=567. However, in Power BI I can only join my mapping table on 1 column. Is there a way to do this?
Example of Mapping Table
User ID
| bob@gmail.com | 567 |
| me@gmail.com | 789 |
Example of Data Table
Sales ID ID2 ID3
| 50 | 567 | 789 | |
| 100 | 567 | ||
| 1000 | 789 | 567 |
I am having the same trouble. Any solutions on this?
Hi @W33628 ,
In your scenario, we cna use lookupvalue function to get ID from the first table, then use or function to filter the data.
Best Regards,
Teige
Hi,
I noticed you posted this answer can you please post any example code on how to handle it?
Where would I put that function? Would it be built into the Role I have defined? Can you provide an example?
Hi All,
I also need solution for this. Can anyone help us ?
Regards,
Shiva
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 63 | |
| 53 | |
| 31 | |
| 23 | |
| 23 |