Showing results for 
Search instead for 
Did you mean: 
New Member

Modifying graphs through JS library



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:


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?

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Kudoed Authors