Forum Discussion

lucmax's avatar
lucmax
Helper II
4 years ago
Solved

Disable/hide include/exclude buttons within contex menu

Hi,   is there a way to hide/disable the include and exclude button within the context menu when working with custom visuals?     Within our visual we have a different way of filtering dat...
  • dm-p's avatar
    4 years ago

    HI lucmax

    I too would like this option. While this isn't currently possible, if you just want drillthrough, one option could be to manage through modern tooltips if you have them enabled in your report rather than the context menu. You'll need to pass a selection ID like for a report page tooltip also for drilldown and/or drill through to be available.

    Modern tooltip support has been added in powerbi-visuals-api 3.8.3 via the supportEnhancedTooltips property, and something like the following in your capabilities will enable it:

    {
        ...
        "tooltips": {
            "supportEnhancedTooltips": true,
            "supportedTypes": {
                "default": true
            }
        },
        ...
    }

    Regards,

    Daniel