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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Byzbkr
Frequent Visitor

Changing the Database Names in Edit Parameters

Hi,

 

I have multiple databases in my server and all of the tables are the same in those databases. I designed my report for a specific database and I am changing the datasource with parameters. When I click edit parameters; I am choosing server and database names. But I dont want to see db names in drop-down. I have seperate table and in that table I have db names in one column and other column includes the names that I want to see in drop-down. Is there a way to do that? Thank for your helps in advance.

3 REPLIES 3
Anonymous
Not applicable

Hi @Byzbkr ,

You can refer the following links to get it by creating parameter table.

Create A Parameter Table For Your Power Queries

Create parameter tableCreate parameter table

 

Create functionCreate function

Apply the parameter in the sourceApply the parameter in the source


Parameter Tables in Power BI / Power Query

Best Regards

amitchandak
Super User
Super User

@Byzbkr , Under manage parameter. In the suggested value option. You have an option for the query. Choose on of the table /query there

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

Thanks. But with this option we can just create list with the existing database names. For example,  our SQL database name is "1234_2021" but while I am choosing my database name in parameters pane from the list I want to see "Apple" instead of "1234_2021". How can I do that in query? Can you give me an example query for that issue?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors