I'm very confused about the different behavio...

Iโ€™m very confused about the different behavior from one App I have build some weeks ago, and another one Iโ€™m building now. Could be a bug? The problem happens with tables that result from a query function. The view for that table in the old App display all the rows. The new one do not display the first row (the one that have the formula). See the pictures below:

0 9 337
9 REPLIES 9

Both are read_only tables / read_only fields?

@Aleksi_Alkio Yes, both are read_only.

Do you still have an issue with this one?

Yes. I tested it again with same result.

What is your account ID and the app name. I can quickly check the reason if itโ€™s okay for you.

@Aleksi_Alkio Yes. I will make an example for you with name fields in English.

Well, well, well, when Iโ€™m building the example in English to send to you I found that the problem is not with AppSheet. At least, reveal why AppSheet build the things differently in some cases.

This: =QUERY(Customers!A2:D;โ€œselect B, C where D = โ€˜Yโ€™โ€) gives the same result of this =QUERY(Customers!A2:D;โ€œselect B, C where D <> โ€˜Nโ€™โ€) right? (if all D rows have one of these values Y or N)

So, in the example I have build, I got this:

ID

Result William Hudson hudson@nostromo.com Ellen Ripley

ripley@auriga.com Maria de Lourdes maria_lurdes35@hotmail.com

Where is the problem? Well, if I change the range from A2:D to A:D the difference comes up:

First query gives this: ID

Result William Hudson hudson@nostromo.com Ellen Ripley

ripley@auriga.com Maria de Lourdes maria_lurdes35@hotmail.com

The second one gives this: ID

Result Name

Email William Hudson hudson@nostromo.com Ellen Ripley

ripley@auriga.com Maria de Lourdes maria_lurdes35@hotmail.com

Thank you for your help, because lead me to understand whatโ€™s happen.

I believe it would be better to use the expression likeโ€ฆ QUERY(Customers!A2:D;โ€œselect B, C where D = โ€˜TRUEโ€™โ€)

Ya, you are right. I rarely use โ€œTrueโ€/โ€œFalseโ€ because I canโ€™t use it in my own language (must be โ€œSโ€/โ€œNโ€ instead of โ€œYโ€/โ€œNโ€). So, normally, I use Text/Enum field types.

Top Labels in this Space