Forum Discussion
Export data in power BI embedded
Hi,
We use power BI embedded in our organisation. But the export data function in the visuals are not visible. The function is available in the service (app.powerbi.com) but in the embedded environment it is gone. But it is visible in the power by the playground:
https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html
So it should work. We checked the settings in the report file and by calling the API client. But we can't find a setting to enable this in the embedded environment.
Hope someone can help.
Regards,
Ronald
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
5 Replies
- v-xuding-msftCommunity Support
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.
- RonaldMusscheFrequent 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
- RikiSjachraniNew 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?
- JJasjkoFrequent Visitor
RonaldMussche
Hi, can you please elaborate on how you changed it? I would really appreciate it - AnonymousNot applicable
Anyone can help about this, please?