What does the Power Query team recommend regarding queries vs. custom functions?
Obtaining a result from a ten-query version of an algorithm produced a result in ~ 15 minutes. The custom function version consists of five of the original ten queries with the other five being converted to functions. An eleventh query, serving as the main query, is this statement:
Source = List.Accumulate({0,2,3,4,6,7,8,9,10},Table.FromList({}),(start,current) => Table.Combine({start, fnPairExpMetrics2(current) }))
The custom function version produces nine results in an elapsed time of 4:14 minutes. (Measured by observing Query Refresh Status)
Is this speed up expected? @ImkeFeldmann-9931