Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Local punctuation doesn't work in role assignment condition.

When adding a role to a condition:
IF (1 = 5; MAX ('SalesRep' [UserName]) = Username (); 1 = 1)
an error about incorrect syntax appears.
If you write:
IF (1 = 5, MAX ('SalesRep' [UserName]) = Username (), 1 = 1) then everything works.
The localization "Russia" is indicated everywhere in the settings, and the function separator ";" is used everywhere in writing DAX code.