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! It's time to submit your entry. Live now!
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! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 131 | |
| 103 | |
| 58 | |
| 39 | |
| 31 |