Forum Discussion

DanFromMontreal's avatar
2 years ago
Solved

Passing table field name as a parameter to a function in PowerM

Hello all, I'm struggling to pass a table field name as a parameter to a function. I've tried several things but none worked.... this  DesiredField is the column in the table "tblFolder" I want to ...
  • dufoq3's avatar
    2 years ago

    Hi DanFromMontreal  you were close 😉

     

     

    Record.Field(#"Filtered lines"{0}, aaa)
    
    or
    
    Record.Field(#"Filtered lines"{0}, DesiredField)