Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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!
Solved! Go to Solution.
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
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
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
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
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
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |