Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.