Forum Discussion
Anonymous
6 years agoNot applicable
Rounding - If statement
Hi, I'm wanting to round my data but I want the rounding to be an if statement dependent on the size of the number itself (jobs number). I can do this in Tableau using the formula in the stateme...
- 6 years ago
Hi Anonymous
The round function requires you to give it a number of digits to round to.
for example;
ROUND(Value,0) would give you the value to the nearest integer.
Hope this helps.
George
- 6 years ago
I often get this error when I have misplaced (or missed out) a bracket, and so it things you haven't given a 'then' or 'else' statement.
Make sure you haven't missed a bracket after ROUND(SUM())
judspud
6 years agoSolution Supplier
Hi Anonymous
The round function requires you to give it a number of digits to round to.
for example;
ROUND(Value,0) would give you the value to the nearest integer.
Hope this helps.
George
Anonymous
6 years agoNot applicable
Hi George,
Thanks,
It was an error with the way I had written the formula, I think its fixed now! Thanks for your help!