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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
spathak04
Helper II
Helper II

How dynamically change the environment from testing to production

Hello,
I have a power Bi desktop and report server version. I get the data from SQL server stored procedures.
My requirement is when I create or test any report it should use my testing environemnt and once I deploy to production it should connect to production environment .
Both of my develpment and production servers are different. I have a reporting server too. 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @spathak04,

 

In my opinion, I'd like to suggest you to parameterize your query tables with query parameters, then you can simply switch data source between test and production environment on power bi service side.

 

There are some reference links about blog and document below, please take a look on it to know more steps:

Using the Power BI Service Parameters to change connection strings (To possibly change between Dev,

What is a query parameter?

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @spathak04,

 

In my opinion, I'd like to suggest you to parameterize your query tables with query parameters, then you can simply switch data source between test and production environment on power bi service side.

 

There are some reference links about blog and document below, please take a look on it to know more steps:

Using the Power BI Service Parameters to change connection strings (To possibly change between Dev,

What is a query parameter?

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Thank you somuch. I think this article could help me a lot. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.