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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
SusanFarr
Regular Visitor

Programmatically collect data form chart

Could someone please point me in the direction to do this.

 

I'm planning to have an embedded published BI graph inside a HTML/JavaScript web page.  I want the user to be able to drill down to see the data they are interested, for example, a column in a bar chart, or a segment in a pie chart etc. I then want them to right click,  get a popup menu, one of options being 'colllect data'.  I then must collect a list of unique identifiers for each of the items that make up that graphical element. (In a nice json structure.) 

 

I (hopefully) can do the clicking routines and the pop menu (but if there are examples of the this - great!) but how I identify the bar/segment the user has clicked on, and retrieve the individual IDs.  (The dataset will include a unique ID for each data row.)

 

Many thanks

Susan

 

1 REPLY 1
Anonymous
Not applicable

Hi @SusanFarr,

 

>>I (hopefully) can do the clicking routines and the pop menu (but if there are examples of the this - great!) but how I identify the bar/segment the user has clicked on, and retrieve the individual IDs.

Nope, power bi embed not contains similar feature to achieve your requirement.

 

AFAIK, current you can use 'include/exclude' features to extract specific value from visual, but I don't think you can collection them in a pop up menu.

 

Power BI Desktop October Feature Summary#IncludeExclude

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors