cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SusanFarr Frequent Visitor
Frequent 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
Community Support Team
Community Support Team

Re: Programmatically collect data form chart

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 Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |