I am not sure what happened, but it seems that the math expression, particularly the division operation, is not working at all
Solved! Go to Solution.
The best option is to write it like.. (1.0 * COUNT(..)) / COUNT(..)
Try with 1/2.0
Hey, @AleksiAlkio, it works, but I don't think it's a solution. I tried using another number, like 7400/350, etc, but the calculation is completely wrong. It's not feasible to ask users to use a comma when inputting a number.
Do you know what happened? Thank you
When you calculate with the division and both of them are numbers, the result is a number as well. If you need the result as a decimal, one of them needs to be a decimal like number/decimal or decimal/number. It doesn't mean the app user needs to add the decimal when filling the value, but your column type needs to be a decimal.
Does it mean that if my calculation formula is as follows:
COUNT(
FILTER(
"subtask",
AND(
[task]=[_THISROW].[id],
[status]="Closed"
)
)
)
/
COUNT(
FILTER(
"subtask",
[task]=[_THISROW].[id]
)
)
DECIMAL(
COUNT(....
)
)
The best option is to write it like.. (1.0 * COUNT(..)) / COUNT(..)
It makes sense, but I am still curious because I have never experienced something like this before
This is how your app calculates it.
https://support.google.com/appsheet/answer/10106622?hl=en&sjid=11028410212436231873-EU#:~:text=%5BPr...
Thank you @AleksiAlkio All clear now!
User | Count |
---|---|
36 | |
9 | |
3 | |
3 | |
2 |