Forum Discussion
Using pipelines and golden/shared datasets (Live query)
Hi All,
I'm using the golden dataset model of Live Querying datasets in a 'dataset workspace' in reports sitting in a separate 'app workspace' (See https://www.jamesserra.com/archive/2020/06/power-bi-faq/ first paragraph (hub/spoke).
I'm also trying to use pipelines for the dataset and the reports. So our developers can make changes to the reports and datasets separately, other developers can review and approve and each can be deployed independantly.
The issue I'm coming up against is shown in the attached image. In short, when publishing a thin report to production, I can't set it to reference the production version of the 'same' dataset. That doesn't seem to be a feature and perhaps I should submit it as an idea.
You might say..'why don't you just set the report to the production dataset in powerbi desktop and upload it that way to the test report workspace and deploy (or direct to the production report workspace instead of deploying). 1. I'd rather the test report always point to the test dataset and 2. It doesn't work because when you change the live query to a different dataset, it changes the report enough that the published PBIX (despite having the same name) is published as a new report and will not overwrite the old...losing bookmarks, cached filters...all that stuff. So..yes you can change the Live Query but unfortunately it breaks a bunch of other stuff.
This is solved to some degree by using an API (https://docs.microsoft.com/en-us/rest/api/power-bi/reports/rebind-report-in-group) call to re-bind a report to a different dataset in the service directly. Here is a person describing that problem.
It is surprising to me though that Golden datasets seem to be the recommended method of using Power BI and must be used by many people who would also like to use pipelines and there seems to be this gaping hole in functionality. Am I missing something? Does anyone solve this differently?
I'd rather not have to write up work instructions that include API calls which involve copy pasting elements of URLs and opening up Powershell to complete what should just be a click of 'deploy to production'.
I know we can switch out data sources and parameters for datasets when deploying between test and prod. Why not reports which have live queries as data sources? Thanks
Pipelines and golden datasets
this is a missing feature that is going to be available real soon- Deployment pipelines - Multiple pipelines working together | Microsoft Docs
WheresWally this feature is now live!
Read more about it here- Deployment pipelines- Azure DevOps extension, multiple pipelines working together, Dataflows GA | Microsoft Power BI Blog | Microsoft Power BI
5 Replies
- Nimrod_Shalit
Power BI Team
this is a missing feature that is going to be available real soon- Deployment pipelines - Multiple pipelines working together | Microsoft Docs
- WheresWally
Helper III
Thanks Nimrod_Shalit , The examples in the linked doco are a little hard to understand but it does read like it aims to solve this problem as you say. Appreciate you taking the time to read and link that. Understand you might not be able to say, but do you know how firm the March 2022 timeline is for it? Any chance it might come sooner?
Thanks again!
- Nimrod_Shalit
Power BI Team
It will come sooner than that.
- Nimrod_Shalit
Power BI Team
WheresWally this feature is now live!
Read more about it here- Deployment pipelines- Azure DevOps extension, multiple pipelines working together, Dataflows GA | Microsoft Power BI Blog | Microsoft Power BI
- WheresWally
Helper III
Really appreciate you letting me know. Nice work on the feature and the announcement.