Forum Discussion

mikihiir's avatar
mikihiir
Helper III
9 years ago
Solved

Custom visual build problem with drilldown

Hi, anyone else has problems building custom visuals when adding drilldown to capapilities ?

 

When i build, i get something like this >  error JSON capabilities.json : instance additionalProperty "drilldown" exists in instance when not allowed

 

 

Any ideas ?

  • Hi,

     

    I also met this situatation then I updated my powerbi-visual-tools to 1.2.0.  checked the schema.capabilities.json file. yes it abstracts the drilldown capabilities.

     

    So I enabled drilldown in capabilities.json like

     

    "drilldown": {

                   Roles : [ "Category" ]

    }

     

    thats it . my custom visual enabled with drilldown :-)

     

    I hope this will help you. 

     

    Thank you,

    Balachandar Gopal

4 Replies

  • Hi,

     

    I also met this situatation then I updated my powerbi-visual-tools to 1.2.0.  checked the schema.capabilities.json file. yes it abstracts the drilldown capabilities.

     

    So I enabled drilldown in capabilities.json like

     

    "drilldown": {

                   Roles : [ "Category" ]

    }

     

    thats it . my custom visual enabled with drilldown :-)

     

    I hope this will help you. 

     

    Thank you,

    Balachandar Gopal

  • v-chuncz-msft's avatar
    v-chuncz-msft
    Community Support

    mikihiir,

     

    Based on my research, you could check if schema.capabilities.json in .api folder of your project helps.

    • mikihiir's avatar
      mikihiir
      Helper III

      Hi, thanks for replaying.

      Seemes that v1.10 api capaility schema does not allow drilldown usage in json.

      Any idea how to activate drilldown ?

      • rajkumarr's avatar
        rajkumarr
        Frequent Visitor

        I too have the same problem can anyone help regarding this question.