Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
Solved! Go to Solution.
@Anonymous ,
There's a little bit difference between the dax expression in role definition and measure/calculate column.
Reference:
Regards,
Jimmy Tao
@Anonymous ,
There's a little bit difference between the dax expression in role definition and measure/calculate column.
Reference:
Regards,
Jimmy Tao
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |