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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
spartan27244
Helper II
Helper II

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

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
v-rzhou-msft
Community Support
Community Support

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?

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.