Arithmatic Expression

This is what comes out when I try to use [Bilangan Tanggungan]>0
Arithmetic expression โ€˜([Bilangan Tanggungan] > 0)โ€™ does not have valid input types

0 6 668
6 REPLIES 6

Are both you spreadsheet and appsheet column type formatted to number?

I have run into a similar issue and was wondering if you ever found the solution? I am getting the same error. My app and spreadsheet are both formatted to numbers.

I have tried the IF expression and also the IFS and AppSheet doesnโ€™t like โ€œ>โ€ input, but it will take โ€œ=โ€ or โ€œ<>โ€.

Hi @JTWhite6789

make sure numbers type are equals.
Keep in mind that Number is different from Decimal.
If you wish to compare with a decimal, remember to add a dot to explicit that.
For example:
IF([thisDecimal]>0.0, ResultIfTrue, ResultIfFalse)

Thank you for the quick response. I did verify column types in both the spreadsheet and app to confirm they matched. I also removed some " " around the >=number and now it seems to be working.

My final expression (for future reference) is

IF([ColumnA] >= 500000, โ€œYesโ€, โ€œNoโ€)

@JTWhite6789

Glad you made it.

For your information, this:
IF([ColumnA] >= 500000, โ€œYesโ€, โ€œNoโ€)
can also be written, if itโ€™s in a Yes/No column, simply:
[ColumnA] >= 500000
No need to use an IF statement for simple cases

Thanks.

Top Labels in this Space