I have Embedded Power BI Report published online on my website(localhost). The main aim is to extract data from the report with some action. For instance there is an option to add new menus to the reports which can provide this action feature.
I have used a dynamic configuration which sets configuration for powerBI report object.
report.on("commandTriggered", function(command) {
console.log(command.detail.datapoints)
});
The datapoints seem to be empty in this situation for any clicked chart. How do i get the datapoints or I need the datapoints for the specific chart when custom command is performed.
