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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Top Solution Authors
Top Kudoed Authors