Power Query M code
let
Source = YourTable,
BufferedTable = Table.Buffer(Source)
in
BufferedTable
Loads a table into memory once with Table.Buffer so it isn't re-evaluated every time it's referenced.
let
Source = YourTable,
BufferedTable = Table.Buffer(Source)
in
BufferedTable
Only buffer tables small enough to comfortably fit in memory - buffering a large table can slow the query down instead of speeding it up.
Browse all 145 snippets in the Power Query M Code Snippets, or search the library for something similar to Buffer a Table for Performance.