cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PBInewbie21
Helper II
Helper II

How to switch servernames in parameters once report is published

Hi,

Is it now possible to do following steps:

1) publish a .pbix file which points to a database on staging server via Parameters

2) Do a UAT of the report on the service 

3) Everything looks good so now time to point it to Production server so change the parameters from Dataset settings.

No need to publish .pbix file again. Is it possible?

 

I'm able to change parameters on service but after saving the changes it doesn't update the report. Am I missing anything here?

 

1 ACCEPTED SOLUTION

@PBInewbie21 OK, so if you go to your dataset Settings in the Service then I imagine you are going to Parameters and changing the parameter there and clicking Apply, correct? If this is an import mode dataset, the change will not take place until the next scheduled refresh.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
v-yueyunzh-msft
Community Support
Community Support

Hi, @PBInewbie21 

If you modify the value of Parameter in Power Bi Service , if the import mode does not trigger the refresh of the data, you need to correctly configure the credentials of the data source in the "Setting" of the dataset, and then trigger the scheduled refresh or manual refresh before the M language query is re-executed.

For more information, you can refer to this document:

Using the Power BI Service Parameters to change co... - Microsoft Power BI Community

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Greg_Deckler
Super User
Super User

@PBInewbie21 Are you using Pipelines with Power BI Premium or no? 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

No, we can't get PPU

@PBInewbie21 OK, so if you go to your dataset Settings in the Service then I imagine you are going to Parameters and changing the parameter there and clicking Apply, correct? If this is an import mode dataset, the change will not take place until the next scheduled refresh.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors