Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
It is possible to adjust the data source of a power BI report from any level higher than Power BI Desktop? Can I change the source from when a report is published or published to web? Is there any way to adjust what data source my report pulls from based on some parameters when the report is opened, either on app.powerbi or on publish to web?
Thanks
Jethin
Solved! Go to Solution.
Hi @jgowda,
Based on my test, We cannot change data source of a report from Power BI service. Here we can use parameter to change data source.
Then we can get data using the Parameter that we created. In power query we can get different data of different data sources by changing the Current value.For more details, please check the online document.
Here is the M code for your reference.
let
Source = Sql.Databases(Parameter1),
Power_BI_Test = Source{[Name="databasename"]}[Data],
dbo_Financial_1 = databasename {[Schema="dbo",Item="Financial_1"]}[Data]
in
dbo_Financial_1
Regards,
Frank
Hi @jgowda,
Does that make sense? If so, kindly mark my answer as a solution to close the case.
Regards,
Frank
Hi @jgowda,
Based on my test, We cannot change data source of a report from Power BI service. Here we can use parameter to change data source.
Then we can get data using the Parameter that we created. In power query we can get different data of different data sources by changing the Current value.For more details, please check the online document.
Here is the M code for your reference.
let
Source = Sql.Databases(Parameter1),
Power_BI_Test = Source{[Name="databasename"]}[Data],
dbo_Financial_1 = databasename {[Schema="dbo",Item="Financial_1"]}[Data]
in
dbo_Financial_1
Regards,
Frank
Hi @jgowda,
Does that make sense? If so, kindly mark my answer as a solution to close the case.
Regards,
Frank
It is possible to adjust the data source of a power BI report from any level higher than Power BI Desktop? Can I change the source from when a report is published or published to web? Is there any way to adjust what data source my report pulls from based on some parameters when the report is opened, either on app.powerbi or on publish to web?
Thanks
Jethin
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
63 | |
53 | |
39 | |
25 |
User | Count |
---|---|
85 | |
57 | |
45 | |
43 | |
38 |