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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
PelaezLink
Helper I
Helper I

Disable "show as table" option or right context menu from custom visual

Hello everyone.

 

I am basically modifying the existing source code of the TextFilter custom visual to suit my needs. The thing is that when I publish the report I don't want users to be able to right click on use "show as table" to see the underlying data. Given that this is a custom visual is it posible from the source code to diable this option or to disable the right context menu completely? For example when you right click on a button object it does not show any options.

 

Thanks a lot.

4 REPLIES 4
analyticsCo
Regular Visitor

were you able to solve it? I need to do the same

lbendlin
Super User
Super User

What would be the business value of doing that? As a developer you are supposed to make it easier for users, not harder.

That's the thing, but there are certain data that I want to be hidden from in the beggining and I don't have acces to RLS right now, so this is my workaroun right now.

there are certain data that I want to be hidden from in the beggining

The only safe way is to not include that data in the first place.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.