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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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