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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.

Top Kudoed Authors