Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Dear all
I have a DAX Syntax problem in PowerBI Desktop. I have following formula 'IF(Column1 > 5, "hh", "hh")'. PowerBI sends me an error message that the syntax is not right. Strangely in the error message, powerbi replaced my comma after 5 with a point.
Please see picture below:
Anybody knows whats the problem here is ?
Solved! Go to Solution.
Thanks for your answers.
I found the answer / workaround by myself. I have to add a space before the comma, then PowerBI accept my DAX Syntax...
Thanks for your answers.
I found the answer / workaround by myself. I have to add a space before the comma, then PowerBI accept my DAX Syntax...
How about the result if you copy the second comma, paste and replace the first comma in your DAX syntax?
If issue still persists, could you please upload your PBIX file to some file hosting services like OneDrive, and then share to me?
Best Regards,
Herbert
Is column 1 set to numeric data type?
Also what is your regional setting?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 31 | |
| 30 | |
| 27 | |
| 24 | |
| 16 |
| User | Count |
|---|---|
| 54 | |
| 37 | |
| 27 | |
| 24 | |
| 20 |