Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to add a calculated column using the if function combined with rounddown function inside. I tested the runddown function, it was working. But when I put it into the if function and calculating with the result from the rounddown founction I get the error - The syntax for 'ROUNDDOWN' is incorrect. I don't know why this is incorrect. Any hint for me?
Thank you!
Solved! Go to Solution.
Thank you both for the help. Now I found where the problem is. It is because of the reginal setting on my computer. Now I changed it to english (united states). Now the syntax error is not showing anymore. 😀
Hi @leisay ,
Use the formula
ttire per pal =
IF (
Masterdata[Tireoo_mm] > 750,
DIVIDE (
1250,
ROUNDDOWN (
Masterdata[DeflatedTire Width(494)],
0
)
) * 2,
DIVIDE (
1250,
ROUNDDOWN (
Masterdata[DeflatedTire Width(494)],
0
)
) * 4
)
Regards,
Harsh Nathani
Dear @harshnathani ,
Thanks for the quick reply. Actually I want to round down the results of 1250 divided by MasterData[Deflated Tire Width], then multiply it by 2 or 4, depending on the result from the if condition.
I tested in steps:
First I only use ROUNDDOWN(1250/MasterData[Deflated Tire Width(494)],0), it works out fine.
Then I added the if function, then it is shows the syntax incorrect error.
I just start to use powerBI. This formel seems quite simple and works in excel. But in PowerBI I keep getting this syntax error. This is a bit frastrating.
Try saving, closing and then re-opening the file, I recreated the same formula in my file and it showed no errors.
Thank you both for the help. Now I found where the problem is. It is because of the reginal setting on my computer. Now I changed it to english (united states). Now the syntax error is not showing anymore. 😀
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |