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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Processing of lists is very slow

I experience a severe performance issue with the evalution of lists:

 

The column Values of Table contains about 4000 lists with in average about 2 items.

The evaluation of

Output = List.Combine(Table[Values])

runs at only about 3 list/second!

The similar command 

Output = Table.AddColumn(Table, "Count", each List.Count([Values]), Int64.Type),
MaxNrOfValues = List.Max(Output[Count])

is comparably slow.

 

Does list processing in Power Query generally need a lot of resources? How can I optimize this?

 

 

2 REPLIES 2
watkinnc
Super User
Super User

Wrap your Table[Column] in List.Buffer, like

 

List.Buffer(Table[Column])

 

You can do it right there in your formulas for all of your lists. You will likely see very significant improvements.

 

--Nate


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!
Anonymous
Not applicable

I thought so too but it unfortunately has no significant impact on the performance.

It's impossible to confirm small improvements as benchmarking of Power Queries under Excel is generally very unreproducible.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors