Forum Discussion

MarkJF's avatar
MarkJF
Frequent Visitor
9 years ago
Solved

Programmatically change the case of headers (from a csv file)

Hi   I created a detailed report Report with data from csv files, and the Promoted Headers function provided me with headers all in lower case. I now need to change the Source of the files, and th...
  • MarcelBeug's avatar
    MarcelBeug
    9 years ago

    Or just change the column headers:

     

    let
        Source = #table(2,{{1,2}}),
        HeadersUpperCase = Table.TransformColumnNames(Source,Text.Upper)
    in
        HeadersUpperCase