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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher 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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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