Maxwell0454
New Member
- Joined
- Sep 22, 2020
- Messages
- 1
- Office Version
- 2007
- Platform
- Windows
I tried to follow the article to migrate power bi collection to power bi embedded However, I got stuck very quickly.
For example, in our app, we use these nuget packages (Microsoft.PowerBI.Api and powerbi.core), and these are some of our usages:
I can download all reports and move to power BI embedded, but as workspace collection will be retired, will we still be able to use the above methods? If not, are there any alternative functions to use?
For example, in our app, we use these nuget packages (Microsoft.PowerBI.Api and powerbi.core), and these are some of our usages:
VBA Code:
client.Reports.GetReportsAsync(this.workspaceCollection, this.workspaceId)
client.Reports.DeleteReportAsync(this.workspaceCollection, this.workspaceId, report.Id);
client.Imports.PostImportFileWithHttpMessage(this.workspaceCollection,this.workspaceId,File.OpenRead(localPath), "Main Report");
client.Datasets.GetGatewayDatasourcesAsync(workspaceCollection, workspaceId, dataset.Id);
client.Gateways.PatchDatasourceAsync(workspaceCollection,workspaceId,datasources.Value[0].GatewayId,datasources.Value[0].Id,
delta);
client.Datasets.GetDatasetsAsync(workspaceCollection, workspaceId);
I can download all reports and move to power BI embedded, but as workspace collection will be retired, will we still be able to use the above methods? If not, are there any alternative functions to use?
Power BI Training | PL-300 Certification Course Online
Learn Microsoft Power BI Course ➔ 20 Hrs Live & On-Demand ✔️Lab Access ✔️UseCases ✔️Certification Guidance ✔️Remote Job Support ✔️Expert Trainers.
mindmajix.com