Power BI - Sample - Client - Javascript

Demonstrate how to embed reports and interact with them using the api provided by the core library. PowerBI-JavaScript

Scenarios:

Data Selection Events

Respond to user selecting data.

Data Selected Event Data:

Notice the event.detail contains information about the visual the user clicked and the page the visual is on. It also contains details about the data the user clicked such as identity, value, and regions if applicable.

Note: the values rendered in the tooltip are currently not returned in event but we hope to have this feature soon.