Forum Discussion

smpa01's avatar
smpa01
Community Champion
3 years ago
Solved

How to create an empty table from a list where list items become the table columns

The title might be confusing.   I have a list as follows let Source = {"c1","c2","c3"} in Source     I want to end up with an empty table as this is where the column name...
  • CNENFRNL's avatar
    3 years ago
    let
        Source = {"c1","c2","c3"},
        EmptyTable = #table(Source,{})
    in
        EmptyTable