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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
spartan27244
Resolver I
Resolver I

Query List for Power Query Parameter

Is there a way a current table or query of a table can be used to fill the list for a PowerQuery Parameter?

 

Example I have multiple customer's withing the same data, When I refresh data in PBI Desktop I want to select the customer who's data I want in the report.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @spartan27244 

Power BI supports you to build a query list by a column from an existing table.

You can try my way above use Add as New Query.

Select your customer column in your existing table and use this function to build a query list.

 

Best Regards,

Rico Zhou

 

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

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @spartan27244 

I think you want to get a List with all customers from your current table to build a parameter.

Steps:

Select the customer column in Power Query Editor, right click and select Add as New Query to build a list.

1.png

Query List:

2.png

Build a parameter by this list.

3.png

For reference: Parameter List video

 

Best Regards,

Rico Zhou

 

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

Is there a way to create the quey list from an existing table?

Anonymous
Not applicable

Hi @spartan27244 

Power BI supports you to build a query list by a column from an existing table.

You can try my way above use Add as New Query.

Select your customer column in your existing table and use this function to build a query list.

 

Best Regards,

Rico Zhou

 

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

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.