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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
yodha
Helper IV
Helper IV

Object Level Security

Hi

I have a "Revenue" column in my "Table visual", i want to restrict the "Revenue" column access to the end users using "Object level security.

When i restrict the "Revenue" column, entire Table visual is not loading.

 

Note: i have one more role in my Pbix, and for that role i don't want to restrict access to the "Revenue" column. So i can't remove the "Revenue" column from the visual.

 

yodha_0-1623653182068.png

Is there a way can avoid this issue?

 

Any help on this is much appreciated, thanks in advance!

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @yodha ,

 

There is no problem with your settings. Object-level security is a measure that hides the entire table, column, or depends on the column. After setting the ols based on a certain role, the corresponding visual will not be displayed in the report, and the visual will only change after the role is switched.

vhenrykmstf_0-1623834649855.png

vhenrykmstf_2-1623834750936.pngvhenrykmstf_3-1623834774039.png

 

You can refer to related videos and documents:

Object-Level Security in Power BI - YouTube

Object-Level Security in Power BI | BI Elite


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.

Best Regards,
Henry

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

View solution in original post

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @yodha ,

 

There is no problem with your settings. Object-level security is a measure that hides the entire table, column, or depends on the column. After setting the ols based on a certain role, the corresponding visual will not be displayed in the report, and the visual will only change after the role is switched.

vhenrykmstf_0-1623834649855.png

vhenrykmstf_2-1623834750936.pngvhenrykmstf_3-1623834774039.png

 

You can refer to related videos and documents:

Object-Level Security in Power BI - YouTube

Object-Level Security in Power BI | BI Elite


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.

Best Regards,
Henry

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

amitchandak
Super User
Super User

@yodha , the way object level security is implemented as of now. if you use the column that you do not have access it will error for that user.

 

try to check iferror can help

iferror([revenue], blank(), [revenue])

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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