This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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.
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 |
|---|---|
| 33 | |
| 25 | |
| 23 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 27 | |
| 22 | |
| 22 |