Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join 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.

Reply
MoMitch
New Member

Modifying graphs through JS library

Hi,

 

My company is attempting to create an embedded visuals tool for PowerBI, we want to be able to view and share templates internally; with some users having the ability to clone and edit the visuals.

 

We were hoping that users could load in a visual on a pre-existing report and clone it then modify the data fields or add filters with a non-embeddded drag&drop UI.

 

I was able to load in an embedded visual, grab the column headers through returning one row of the data set, and assumed we could modify the visualization through 'visual.getCapabilities' and 'visual.addDataField' as shown in the visual showcase of custom graphs: https://github.com/microsoft/PowerBI-JavaScript/blob/master/demo/v2-demo/live_showcases/quick_visual...

 

However, it seems that these functions are not available when using the js library, or are only available for originally made 'custom' graphs.

 

Am I doing something wrong here or missing something about this functionality? Will we just have to use the 'edit' mode if users want to modify a pre-existing report/visual/template?

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.