Forum Discussion

anwernuman's avatar
anwernuman
New Member
1 year ago
Solved

Expression.SyntaxError: Token Eof expected.

Getting Expression.SyntaxError: Token Eof expected. error in the below code. I have checked everything and it seems correct to me. What could be the issue here?   = let GoogleDistance = (origi...
  • danextian's avatar
    1 year ago

    This line of code is causing a problem. M doesnt have a direct  equivalent of IN operator in DAX.

     

    "rows" in attemptedSource

     

    If you're checking whether attemptedSource has a field called rows, use

     

    Record.HasFields(attemptedSource, "rows"),