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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.