How to download the report as an excel in the PowerBI. Currently, I have embedded the report in the SharePoint page using the PowerBi web part, would need to download the report using a download button.
I have used PowerBI API - POST https://api.powerbi.com/v1.0/myorg/reports/{reportId}/ExportTo
Response - { "error": { "code": "InvalidRequest", "message": "Report requested for export is not on dedicated capacity" } }