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
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
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