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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Rinku21
Helper III
Helper III

Dynamic URL parameter in Power BI report with row level Security

Hi,

 

Can we pass dynamic url parameter in Power BI report? My requirement is, we have defined row level security with Manager-employee hierarchy. When employee logs in and if he is a manager then he can see his employees data and if he is an employee, he can see only his data.

But some of our users who needs to test this reports are not present in that Manager-employee hierarchy table. Is there any way they can access the report by passing parametrs dynamically in the power BI report url?

 

Thanks,

Rinku

3 REPLIES 3
v-yingjl
Community Support
Community Support

Hi @Rinku21 ,

If the report has enabled RLS, they can only view their related data based on RLS. Dynamic url parameter could not achieve this.

If anyone who is not in the RLS regulation wants to see the data of the report, he needs 'edit' permission to see all the data of the report, 'view' permission could not see any data.

To have 'edit' permission, just add him into the workspace as roles who are over 'viewers' role in power bi service if he is in your organization. If he is out of your organization, add him as a guest user first.

Please refer:

  1. Roles in the new workspaces 
  2. Distribute Power BI content to external guest users with Azure AD B2B 

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Hi @v-yingjl ,

 

Thanks for your reply. Is there any other way to achieve the requirement?

I tried creating RLS but I am facing some issues while creating DAX. Below is the post where I mentied the issue:

https://community.powerbi.com/t5/Desktop/Dynamic-Row-Level-Security-in-Power-BI-with-if-condition/m-...

 

Thanks,

Rinku

amitchandak
Super User
Super User

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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