Forum Discussion
Export data in power BI embedded
- 6 years ago
Thanks for the help. This was not the problem. We are using a service principle and in our tenant setting a sequrity group was configured to allow export data. We removed the setting to the entire organisation and a couple of hours later it worked.
Kind regards,
Ronald
Hi RonaldMussche ,
Please try like this:
// Exports visual data
visual.exportData(models.ExportDataType.Summarized, 100)
.then(function (data) {
Log.log(data);
})
.catch(function (errors) {
Log.log(errors);
});
Reference:
https://github.com/Microsoft/PowerBI-JavaScript/wiki/Export-Data
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- RonaldMussche6 years agoFrequent Visitor
Thanks for the help. This was not the problem. We are using a service principle and in our tenant setting a sequrity group was configured to allow export data. We removed the setting to the entire organisation and a couple of hours later it worked.
Kind regards,
Ronald
- RikiSjachrani5 years agoNew Member
RonaldMussche I have embedded a power bi report and a user is wondering how she can export the report. I found your post and solution here but cannot understand whether it applies to my situation, do you want more information about where the setting is that worked for you?