Forum Discussion

Claire4Green's avatar
Claire4Green
Frequent Visitor
5 years ago

Using parameters in a report to change dataset

Hi there,

 

We have started using Pipelines and use parameters in the data model to switch between dev, test and prod dataflows. Rules can be applied as part of the deployment so when we move a model from dev to test it automatically switches sources. Our reports are separate from the data models as a single model can be used in a number of reports, this seems to be best practice from what I have read.

 

So my question is, is it possible to parameterise the data model (Power BI Dataset) source? What I want to be able to do is when I deploy a report from dev to test it switches from the dev data model (dataset) to test. As you can't connect to a Power BI Dataset in query editor, only from Get Data on the report page, I can't see how you can use parameters.

Any help would be greatly appreciated!

 

Thanks,

 

Claire

3 Replies