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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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