Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 33 | |
| 29 | |
| 27 |
| User | Count |
|---|---|
| 134 | |
| 104 | |
| 63 | |
| 60 | |
| 55 |