Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Parameterization of Data Source Connection

Hi,

 

We have 2 environments QA and Prod and a single report.

The schema and tables in both environments are same and data is different.

Can I by any chance use  a parameter to switch between the data sources?

I'm using redshift

1 ACCEPTED SOLUTION

Hi @Anonymous,

 

Based on my test, we can add parameters firstly in power query. I take SQL Server as an example, you can apply the same process to your Redshift data source.

 

123.png

 

Then we can get data and use the Parameter that we created. For more details, please check the online document.

 

12333.png

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi,

 

We have 2 environments QA and Prod and a single report.

The schema and tables in both environments are same and data is different.

Can I by any chance use  a parameter to switch between the data sources?

I'm using redshift

Hi @Anonymous,

 

Based on my test, we can add parameters firstly in power query. I take SQL Server as an example, you can apply the same process to your Redshift data source.

 

123.png

 

Then we can get data and use the Parameter that we created. For more details, please check the online document.

 

12333.png

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @Anonymous,

 

Does that make sense? If so, kindly mark my answer as a solution to close the case please.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.