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
ducky
Frequent Visitor

Bypassing Row level security when customer should see all dataset

Hi!

 

We're using CUSTOMDATA() function to pass the customer security ids in Powerbi security roles (RLS ). We do this as some of our customer's users should have permission to see some of the data based on a customerid. 

However some users would have access to all data.

 

Is there a way to bypass RLS only for those users but apply RLS for the others ? 

Objective: what we want to achieve is not to apply RLS where is not needed therefore improving performance. 

 

Regards

1 ACCEPTED SOLUTION
ducky
Frequent Visitor

We ditched the custom data and using username we could just create a new security role that is empty so that would take care of our problem. 

View solution in original post

3 REPLIES 3
ducky
Frequent Visitor

We ditched the custom data and using username we could just create a new security role that is empty so that would take care of our problem. 

Jamie-
Frequent Visitor

There's probably a good way to do this within the RLS settings, but as a quick/easy workaround if you enhance the permissions within the report/workspace and give these users access to the data or enhanced permissions at a workspace level - this will override any RLS settings.

 

Jamie.

ducky
Frequent Visitor

I'm not sure I grasp the meaning of "enhanced permissions at a workspace level " since these customers dont even see the workspace. they connect through an app which has PBI embedded. 

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.