Forum Discussion
Source Control - Dataset Workload failed to import the dataset with dataset id
DirectQuery and Composite models on Analysis Services dont work, but if I understood correctly that's not your scenario. You migrated the AS to a Power BI dataset and should be supported.
Can you share the definition.pbir of the report? Does it look like this: Power BI Desktop project report folder - Power BI | Microsoft Learn
RuiRomanoMS
I really appreciate your reply.
pbir file looks like this.
Any suggetions?
{
"version": "1.0",
"datasetReference": {
"byPath": null,
"byConnection": {
"connectionString": "Data Source=powerbi://api.powerbi.com/v1.0/myorg/dev Datasets;Initial Catalog=\"Reporting EN\";Cube=Model;Access Mode=readonly",
"pbiServiceModelId": null,
"pbiModelVirtualServerName": null,
"pbiModelDatabaseName": null,
"name": "EntityDataSource",
"connectionType": "analysisServicesDatabaseLive"
}
}
}
Thank you
- RuiRomanoMS2 years agoMicrosoft Employee
Please try like this:
{
"version": "1.0",
"datasetReference": {
"byPath": null,
"byConnection": {
"connectionString": "Data Source=powerbi://api.powerbi.com/v1.0/myorg/dev Datasets;Initial Catalog=\"Reporting EN\";Cube=Model;Access Mode=readonly",
"pbiServiceModelId": null,
"pbiModelVirtualServerName": "sobe_wowvirtualserver",
"pbiModelDatabaseName": "[DATASET ID],
"name": "EntityDataSource",
"connectionType": "pbiServiceXmlaStyleLive"
}
}
}You can also get the exact connection string, by opening Power BI Desktop, connecting to the dataset (Live Connect) and Save as PBIP. Open the definition.pbir and there should be a similar connection like above.
- samudralb2 years agoFrequent Visitor
RuiRomanoMS This works for me, and I really appreciate your assistance. Thank you so much 🙂
- YoussefMejri2 years agoNew Member
Hi I'm struggling with the same issue .. in a diffrent senario .. I have a report that visualizes the data from SQL server data base (In an Azure VM) .. I'have merged the report as PBIP project to an Azure devops repo .. and when trying to synchronise my Power BI PPU workspace, with my Azure devops git repo I get the same error mentioned above, the definition.pbir content is :
{
"version": "1.0",
"datasetReference": {
"byPath": {
"path": "../Delivery_Report.Dataset"
},
"byConnection": null
}
}