Forum Discussion
Custom visual API 2.5.0 analytics pane - how to guide
- 5 years ago
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
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
Thanks Daniel dm-p.
Yes, I took that page as a reference. You've helped me an important step further, thanks!
I even found some sample code: https://github.com/microsoft/PowerBI-visuals-sampleBarChart