Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
When using the #shared or #section constructs, FirstN rows seems to result in an stack overflow error. Range or RemoveLastN functions work fine. Test case:
let
Query1 = #shared,
#"Converted to Table" = Record.ToTable(Query1),
#"Kept First Rows" = Table.FirstN(#"Converted to Table",2),
#"Expanded Value" = Table.ExpandTableColumn(#"Kept First Rows", "Value", {"Namn", "Varde"}, {"Value.Namn", "Value.Varde"})
in
#"Expanded Value"
as soon as this is "closed & appied" to the model, it will result in a stack overflow. Changing the "Kept First Rows" step to a Table.Range or Table.RemoveLastN makes everything work fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.