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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.