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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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])

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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