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
Artofdax
Frequent Visitor

Table.selectrows with list.contains loading issue

Hi I need help with my filter 

I’ve filter values in Table1 and creating a reference table. I then converted this table to a key ID list.  And apply as filter to table2 using Table.selectrows( pervious step, each list.contains(list.buffer(list.distinct (mykeylist)),[table2keycolumn])). However, the loading process is taking  forever , and I’m getting a timeout message. my list contains approximately 400,000 rows, while Table2 has around 6 million rows that I want to reduce to my list, Can you help me troubleshoot this issue or point me in the right direction

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You need to do the List.Buffer earlier, outside of the "each"  loop.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

You need to do the List.Buffer earlier, outside of the "each"  loop.

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.

Top Solution Authors