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
Hi Team,
Is it possible to load the data from database based on a condition.
For example,
I have a list of "username", "email id" columns in a table called "Userslist".
In Sales table : I have employeename, sales on Direct mode.
I need to create a condition in powerquery to load the data only when the user from Userlist logs into the report.
if anybody else, the table should not load.
I cant use RLS/OLS because these users are at Contributor level.
Hi @LP280388 ,
As you said, RLS will fail when the user has edit permission. You might consider data masking. Please refer to this blog:
https://radacad.com/show-the-information-but-not-the-details-power-bi-data-masking
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@V-lianl-msft Thanks for the response.
however, this doesnt work for the contributor level access as he mentioned below. I need to hide data for someone who is at contributor level.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 36 | |
| 34 | |
| 31 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 103 | |
| 66 | |
| 65 | |
| 56 |