Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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.