Forum Discussion

WouterBo's avatar
WouterBo
Helper II
5 years ago
Solved

Custom visual API 2.5.0 analytics pane - how to guide

The release notes for the 2.5.0 version of the PowerBI custom visual API mention the introduction of the Analytics Pane. However, I cannot find any information on how to use it. Adding the object with "objectCategory" : 2 to the capabilities.json does not seem to do anything.

 

Does anyone have any further information for using the analytics pane in custom visuals? I would like to be able to add statistical lines to my custom visuals.

 

Thanks! 

  • Hi WouterBo,

    I was able to get this working in the past using the dedicated page in the documentation, so presuming that this is your reference, I think your approach is likely correct. All it takes is to add the "objectCategory": "2" to your appropriate object and it would shift over to the Analytics pane when enumeration is next triggered.

    I've just tested and I don't think it's working currently, as it definitely was last time I checked (probably within the last 4 months or so).

    I would suggest raising an issue to make the team aware and hopefully they can investigate and resolve.

    Regards,

    Daniel

2 Replies

  • dm-p's avatar
    dm-p
    Super User

    Hi WouterBo,

    I was able to get this working in the past using the dedicated page in the documentation, so presuming that this is your reference, I think your approach is likely correct. All it takes is to add the "objectCategory": "2" to your appropriate object and it would shift over to the Analytics pane when enumeration is next triggered.

    I've just tested and I don't think it's working currently, as it definitely was last time I checked (probably within the last 4 months or so).

    I would suggest raising an issue to make the team aware and hopefully they can investigate and resolve.

    Regards,

    Daniel