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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors