Syntax
List.ReplaceRange(list as list, index as number, count as number, replaceWith as list) as list
Description
Replaces count values in the list with the list replaceWith, starting at specified position, index.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference