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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Power BI Desktop does not resolve parameters for connection settings

Hello everybody,

 

I have received a local Power BI Report from my client. The work on the report is completed.

The last task which needs to be accomplished is to set the data source settings by using parameters.

 

Therefore, I created two parameters:

Parameter1.pngParameter2.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Then, I went into the data source settings in order to use these two parameters.

 

I choose "Change Source":

Datenquelleneinstellung.png

I am using the parameters for the data source:

SettingParameters.png

And this is the result:

Datenquelleneinstellung_Result.png

 

As you can see, Power BI Desktop is using the name of the parameter instead of its value (DatabseValue).

 

I went back to the data source settings and set the parameter "ServerName" in both fields.

SettingParameters_2.png

This is the result:

Datenquelleneinstellung_Result_2.png

 

 

 

 

 

 

 

 

 

 

 

 

 

Again, the value for the server is correct but the value of the database could not be resolved.
Instead, the name of the used parameter shows up instead of its value.

 

I noticed that this behaviour does not appear in new/unedited Power BI Desktop files, but in Power BI Desktop files that have already set up a (working) data source connection.

 

How can I set these parameters even under these circumstances with Power BI Desktop?

Can someone confirm this behaviour of Power BI Desktop?

 

My client is using the RS version of Power BI Desktop (May 2021).

 

I appreciate any help to solve this issue.

 

@v-yingjl 

@Anonymous 

 

With best regards

SettlerOfCatan

1 ACCEPTED SOLUTION

@Anonymous , Are you trying to do what is shared in this video by Guyinacube  - https://www.youtube.com/watch?v=OnaDJkGOmIE ?

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , I think when you open and check advance editor(of a table) , there you should see the difference(Parameter name replaced with actual value).

Are you able to add a table using this connection?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hello @amitchandak,

 

Thank you for your reply.

This is a great idea!

 

I have opened the advanced editor and this is what I got:

AdvancedEditor.png

 

 

 

 

 

 

 

 

 

 

I am sorry for asking this question:

What do I need to change (properly I need to replace Name="DatabaseName") so that the value of the parameter DatabaseName is being used?

 

I am not familiar with the M-language. 😪

@Anonymous , Are you trying to do what is shared in this video by Guyinacube  - https://www.youtube.com/watch?v=OnaDJkGOmIE ?

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

exactly!

@amitchandak, thank you very much for helping me fixing the parameter issue! You have solved my problem!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.