I have another view created from another table that require the field “GTIN”. Under the “GTIN” field, I want to create an expression that read back to the “Product” table. What I want is to filter by USEREMAIL() and select the GTIN that is the most recent added. For example, if I login in using mary@gmail.com, the GTIN value that I want to obtain will be “9556108261009”.
For example, if I login in using edmund@gmail.com, the GTIN value that I want to obtain will be “931048834115”.
In short, I would like to select the latest GTIN value based solely on the useremail login.
I have created the expression but it does not work.
Thanks @Rafael_ANEIC-PY. The expression does not seem to work. It is still reading from the last row of the “Product” table.
Well, yeah, you said you wanted the “latest”, and spreadsheets get new entries as new rows, so what’s at the bottom is the newest, and what is at the top is the oldest.
If you want the oldest one you can use this expression:
Hi, what I need to show the latest GTIN which is accessed by the useremail.
For example, I am login with useremail edmund@gmail.com, the GTIN should be 9310488341115. I tried the formula you provided me, when I am login with useremail edmund@gmail.com, it is not giving me the correct GTIN. It gives the GTIN 9556108261009 which was by mary@gmail.com not by edmund@gmail.com.
Thanks for the reference link. I have tried many times and I still couldnt get what I want to work. I have tried the following but it is still reading from the last row of the table instead of reading the latest row based on the useremail login.
For example, I login as edmund@gmail.com, it will still get the GTIN “9556108261009” instead of “9310488341115” which should be the case if it works.
Yes, I have been trying Preview as in the app simulator. Maybe I will try on the device instead. Thanks for the advice.
Thanks Steve. I have tried to login in with different email address using the AppSheet application on my device. And it works. From the app simulator, it is not sufficient to use the Preview As like what you have mentioned.