Forum Discussion
OsmanEmi
5 years agoFrequent Visitor
M language Token EOF Expected
Hi,
When trying to add a column in power query I'm met with the error
"Token EOF Expected"
I wanted to ask if the syntax I'm using is incorrect
= ([#"DestinationType"] & " | " & [#Destination Name]
text.replace([#Destination Name], "Spend", "Facts")
Please try this instead.
= [#"DestinationType"] & " | " & Text.Replace([#Destination Name], "Spend", "Facts")
Pat
1 Reply
- mahoneypatMicrosoft Employee
Please try this instead.
= [#"DestinationType"] & " | " & Text.Replace([#Destination Name], "Spend", "Facts")
Pat