The syntax for 'X' is incorrect.
A DAX parse error near the named token.
Why it happens
- A missing or extra comma or parenthesis.
- The wrong argument separator for your regional settings (some locales use a semicolon).
- Using
=where a comparison=inside a predicate was meant, or a stray operator.
How to fix it
- Check that brackets and parentheses balance, and the function's argument count matches its signature.
- Run the formula through a DAX formatter to localise the separators and reveal the break.
- In non-US locales, confirm whether the list separator is
,or;.