Forum Discussion
msksenthil
Helper III
4 years agoM Code Recursive function dynamic column reference
I would like to try dynamic expanding columns in M code. The code is: fxFactorial = (RowCount as number, Tnumber as number, tbl as table) => let displayname = "disPath" & Text.From(Tnumber), ...
mahoneypat
Microsoft Employee
4 years agoYou are using the prevchildname variable (a text value) in a function that expects a record (Record.Field).
Pat