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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
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.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 40 | |
| 30 | |
| 24 |