Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
Solved! Go to Solution.
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
Anyone can help about this, please?
@RonaldMussche
Hi, can you please elaborate on how you changed it? I would really appreciate it
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.
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
@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?