Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Sofiafarenmark
New Member

Get number or rows per user from the Power bi api

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 

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

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,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

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,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.