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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.