Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hello everyone,
Let's say I am having three tables as below:
When I used RLS username = username(), the result is the table with the org belongs to user login only. For example, when the user albert@abc.com login, the data is org one and two only.
However, I need to have the result that shows all orgs, but with org three and four, it shows the alias instead. The result should be like this:
It means for the organizations that not belongs to this user, I just show the alias.
Can we do this?
Thank you very much
@Anonymous,
You need to create a measure instead of RLS.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 55 | |
| 53 | |
| 43 | |
| 36 | |
| 32 |