App Formula miscalculated when updated by API Calls

Hi,
I use an expression to set the value of a column using the values of other cells in the same row.

It works fine when I use Appsheet UI. But when I update using an API call, the value is miscalculated. It is not blank but, a wrong value is set. (To be more precise, in my opinion, the โ€œifโ€ statementโ€™s result is wrong )

I use the Appsheet app to check the new row added by the API call, the wrong value is seen. Then I open to edit the row without ever changing anything, the value is recalculated but this time value changes, and the right value is set.

The problem is that the expressionโ€™s result differs when an entry is created by an API call or an Appsheet form.

Can anyone help with this problem?

Solved Solved
0 5 310
1 ACCEPTED SOLUTION

Maybe this?

View solution in original post

5 REPLIES 5

What is the expression?

Hi, Original expression was this
3X_4_e_4ec18c3c0c28d31ca41df9bcb1b94b862f801d14.png
I simplified it to

[User Input Price]/((100+[VAT Rate])/100)

it did not work eitherโ€ฆ

Maybe this?

Great !!
Thank youโ€ฆ It worked

I forgot to say that, I use Google Sheets as databaseโ€ฆ

Top Labels in this Space