Forum Discussion

FAW71's avatar
FAW71
Advocate I
26 days ago
Solved

Create a new column with concat

Hello, I am trying to do a simple concat of the ID a hyphen and the title as a new column in Power Query but I keep getting a "Token Literal expect" error. I am not sure what it's looking for. I kn...
  • MasonMA's avatar
    26 days ago

    The error is caused by the extra commas. plus if [Id] has values such as numbers, convert to text before concatenating. Use this M code: 

    Text.From([Id]) & " - " & [Title]