Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
Is it possible to retrive the numbers of rows accessable to a specific user in a power bi repport using the power bi api?
Thanks,
Sofia
Solved! Go to Solution.
Hi. Can you try explaining more the scenario and question? from what I can read there it sounds like you have a power bi report with RLS and you want to know the number of rows of a table a user can see using the power bi rest api. That's a no. The only way to check the rows of tables from a user standpoint at an RLS semantic model is if you are de developer and have the power bi desktop to "View as Role". That feature should let you check how specific user can see to check it.
I hope that helps,
Happy to help!
Hi. Can you try explaining more the scenario and question? from what I can read there it sounds like you have a power bi report with RLS and you want to know the number of rows of a table a user can see using the power bi rest api. That's a no. The only way to check the rows of tables from a user standpoint at an RLS semantic model is if you are de developer and have the power bi desktop to "View as Role". That feature should let you check how specific user can see to check it.
I hope that helps,
Happy to help!
User | Count |
---|---|
45 | |
26 | |
21 | |
18 | |
18 |
User | Count |
---|---|
54 | |
45 | |
25 | |
24 | |
21 |