Forum Discussion

McSarah's avatar
McSarah
Helper I
5 years ago
Solved

Unpivot + unknown columns + data type woes

Hi, I am trying to refactor an existing set of queries to take advantage of query folding, and I've run into trouble with an unpivot step. This step worked in the original (which used custom SQL to j...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi McSarah 

     

    So you are here in this step, and my giant list of columns is your column name list? You don't wrap it with {} as it is already a list, you can directly reference it or #"my giant list of columns" if it does have space...also seems missing closing ) and ,

     

    #"Expanded second half of join" = Table.ExpandTableColumn(Source, "other query - second half of join", { ( my giant list of columns)}