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
MattN4
Helper I
Helper I

Filter using imported list

Hi,

 

 

I have a field which is a product catalogue, I want to filter on a few hundred products but the only way I can see is to scroll through all 5124 products and tick each of the ones I want.

 

Is there a way of importing a list from Excel on to my report so only those products are displayed?

 

Thanks.

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@MattN4 wrote:

Hi,

 

 

I have a field which is a product catalogue, I want to filter on a few hundred products but the only way I can see is to scroll through all 5124 products and tick each of the ones I want.

 

Is there a way of importing a list from Excel on to my report so only those products are displayed?

 

Thanks.


@MattN4

You can import the data table and filter table in Power BI. And then filter data table with filter table in Power Query.

Check 

let  
    dataTable=  Table.FromRows({{"Apple",10} , {"Peach",15},{"Cherry",20}}, {"category", "amount"}),

    filterTable=Table.FromRows({{"Apple"} , {"Peach"}}, {"category"}),

    filteredTable = Table.SelectRows(dataTable, each List.Contains( filterTable[category], [category] ))
      
in
    filteredTable

View solution in original post

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee


@MattN4 wrote:

Hi,

 

 

I have a field which is a product catalogue, I want to filter on a few hundred products but the only way I can see is to scroll through all 5124 products and tick each of the ones I want.

 

Is there a way of importing a list from Excel on to my report so only those products are displayed?

 

Thanks.


@MattN4

You can import the data table and filter table in Power BI. And then filter data table with filter table in Power Query.

Check 

let  
    dataTable=  Table.FromRows({{"Apple",10} , {"Peach",15},{"Cherry",20}}, {"category", "amount"}),

    filterTable=Table.FromRows({{"Apple"} , {"Peach"}}, {"category"}),

    filteredTable = Table.SelectRows(dataTable, each List.Contains( filterTable[category], [category] ))
      
in
    filteredTable

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.