Forum Discussion

Hannisky's avatar
Hannisky
Frequent Visitor
4 years ago
Solved

Help with creating function

I'm trying to create a function that makes changes to tables before expanding. The starting point is as below a column of tables.  My function at present takes a table and promotes headers.  ...
  • BA_Pete's avatar
    4 years ago

    Hi Hannisky ,

     

    It looks like you should be invoking your function in a TransformColumns function, something like this:

     

    Table.TransformColumns(Source, {"c1", each fnHeaders(_)})

     

     

    Pete