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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
lakshmi9228
Helper III
Helper III

401 error

displaying 401 error while using RLS in power BI and struggling from yesterday by different ways.

1 ACCEPTED SOLUTION

The screenshots titled as visuals is basically the 'Table' visuals that you see in the 'Visualizations' pane on the right on the PBI Desktop, so you can create these visuals irrespective of using Direct Query or Not. The secondary RLS table I was referring to is a manual table that you will create and maintain and will be the source of the second visual which will basically be the Column you want the restriction set on.

View solution in original post

26 REPLIES 26

How do we do that?

I dint get the point "column adjacent to the first visual and have row level on that second visual. " 

This is what I came up with, you will have to change things obviosuly based on your requirement and also this is just a starting point and the only way I thought you can achieve this, you will have to break the column that needs the restriction upon and apply RLS on that column and make sure no relationship is defined between these two tables else the RLS will trickle to the other table as well.

 

Not a perfect solution but I think this should be a good starting point.

Visual 1 will NOT have the column you want restriction onVisual 1 will NOT have the column you want restriction onDefine RLS on the secondary table that contains the restricted columnDefine RLS on the secondary table that contains the restricted columnDummy Data for secondary table containing the supposed restricted columnDummy Data for secondary table containing the supposed restricted columnRelationship between bothRelationship between both

I am doing as direct query by using a view from SQL, how can I do this visuals at that time?

The screenshots titled as visuals is basically the 'Table' visuals that you see in the 'Visualizations' pane on the right on the PBI Desktop, so you can create these visuals irrespective of using Direct Query or Not. The secondary RLS table I was referring to is a manual table that you will create and maintain and will be the source of the second visual which will basically be the Column you want the restriction set on.

OrderIDOrderDetailIdCustomerIDCustomerEmailOrderStatus
335126017163712lucky@yahoo.comCompleted
3351360172233638ram@gmail.comCompleted
33520603090063j.winnan@gmail.comCompleted
3353260301233660dbs@gmail.comCompleted
3353260302233660dbs@yahoo.comCompleted
335686018233685sugal@gmail.comCompleted

 

I am sorry, I can do this.
Please let me know if I can restrict the email address column

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors