How I can compare value number in 2 table Appsheet

Item's Price

ABC
1.0002.0005.000

DATA

DateNameItemPrice
1-MayJohnA1.000
2-MayMikeA1.500

I want compare Column Price (DATA) vs Item's Price with Format Rule in Appsheet.

I search some function but I cant find the solution.

Thanks for help! 

0 1 77
1 REPLY 1

Aurelien
Google Developer Expert
Google Developer Expert

Hi @giahuylpu 

You will need to use dereference expression.

For reference: Dereference expressions - AppSheet Help

Also, you will need to change the structure of your Item's price table.

I would suggest having the table of ITEMs made this way:

ITEM ID Description Price
A product A 1000
B product B 2000
C product C 5000

The table DATA must have the column [Item] set with type Ref, source table ITEM.

Then, you will be able to user this if you wish to know if it's the same in your table DATA and your table ITEM:

[Price]=[Item].[Price]

 

Top Labels in this Space