Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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.