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

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

Reply
JasonOuellette
New Member

One of my reports is using the name of a database parameter rather than its value

I created a report, initially by typing in the server and database in "get data". Later I tried changing these to parameters so they could be easily changed. I've done it before and it worked fine. I create the parameters and put in the values I want for them. I change the connectors in "get data" to use the parameters. It correctly pulls the value of the "server" parameter, but when I tell it to pull the value from the "database" parameter, it instead just pulls "database", which is the name of the parameter.

 

I've tried this on other reports and I don't have the same issue, in a fresh report I can create parameters and it correctly pulls their value for the server and database. On this one report, including old versions of it as well as when a colleague tries to do the same thing, we are having this issue. I've tried changing the type between text or any, and clicking and un-clicking required. We've tried multiple machines.

 

Is this particular report just bugged? Right now I'm re-creating it from scratch, with parameters as the connection from the start, but re-creating everything is going to be the better part of a days work. Is there any way I can fix this in the existing report, or at the very least prevent it from happening again?

 

Thanks

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

Can you share you code from Advanced Editor?



Follow on LinkedIn
@ 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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@JasonOuellette 

 

Additionally, take a look at https://docs.microsoft.com/en-us/power-bi/refresh-data#configuring-query-parameters.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Community Champion
Community Champion

Can you share you code from Advanced Editor?



Follow on LinkedIn
@ 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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.