Yep - you're missing a comma at the end of the line right above it. Additionally, watch out on the "Umpivoted Split Cols" step too - towards the end there's an invalid identifier of an apostrophe lookalike that needs to be replaced.
thank you for that! It's those little things that get overlooked sometimes. I fixed the code and it created a new sheet but it's still not producing anything in the Next Meeting column. Below is what I'm seeing - the green spreadsheet is off the new query and the blue is the original. Below that is the code.
let
Source = Excel.CurrentWorkbook(){[Name="Tim"]}[Content],
#"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Next Meeting", type any}, {"Account Owner ↑", type text}, {"Account Name", type text}, {"Account Record Type", type text}, {"Classification", type text}, {"Last Meeting", type any}, {"Meeting Frequency", type text}, {"Meeting Months", type text}, {"TAM AUM", Int64.Type}, {"2022 Meeting", type datetime}}),
#"Changed Type All Cols" = Table.TransformColumnTypes(#"Promoted Headers",{{"Next Meeting", type text}, {"Account Owner ↑", type text}, {"Account Name", type text}, {"Account Record Type", type text}, {"Classification", type text}, {"Last Meeting", type any}, {"Meeting Frequency", type text}, {"Meeting Months", type text}, {"TAM AUM", Int64.Type}, {"2022 Meeting", type datetime}}),
#"Duplicated Col 'Meeting Months'" = Table.DuplicateColumn(#"Changed Type All Cols",{{"Meeting Months"}, {"Meeting Months - temp"}}),
#"Split Column by Delimiter" = Table.SplitColumn(#"Duplicated Col 'Meeting Months", "Meeting Months - temp", Splitter.SplitTextByDelimiter(",", QuoteStyle.Csv), {"Meeting Months.1", "Meeting Months.2", "Meeting Months.3"}),
#"Unpivoted Split Cols" = Table.UnpivotOtherColumns(#"Split Column by Delimiter", {"Last Meeting", "Account Name", "Meeting Frequency", "Meeting Months"}, "Attribute", "Next Meeting"),
#"Removed Col 'Attribute'" = Table.RemoveColumns(#"Unpivoted Split Cols",{"Attribute"}),
#"Trimmed Text" = Table.TransformColumns(#"Removed Col 'Attribute'",{{"Next Meeting", Text.Trim, type text}}),
#"Cleaned Text" = Table.TransformColumns(#"Trimmed Text",{{"Next Meeting", Text.Clean, type text}}),
#"Reordered Columns" = Table.ReorderColumns(#"Cleaned Text",{"Next Meeting", "Last Meeting", "Account Name", "Meeting Frequency", "Meeting Months"})
in
#"Changed Type"
I know you used #"Reordered Columns" for the
in portion but every time I do that, I get the expression error below and I can't figure out for the life of me why it's not finding the column.