Forum Discussion

Albina's avatar
Albina
Regular Visitor
8 years ago

Is it possible to determine the drill mode?

Hello!

 

I have custom selection in custom visual. I want to determine the drill mode whether the user has enabled it. 

3 Replies

  • v-viig's avatar
    v-viig
    Community Champion

    Power BI Custom Visuals API does not provide a way to detect Drill-down mode.

     

    Could you please describe a use case?

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

    • Albina's avatar
      Albina
      Regular Visitor

      Ok, thanks!

       

      If I want to bind additional click events to visual without VisualBehavior and other utils, I have nothing to turn off this feature if drill mode is on.

      • v-viig's avatar
        v-viig
        Community Champion

        If you want to add additional event handlers you can use addEventListener method.

         

        Ignat Vilesov,

        Software Engineer

         

        Microsoft Power BI Custom Visuals

        [email protected]