Using select/lookup for pulling a product code

The user select the item, unit and size. I wanna pull the price,code and factor for each combination of selection(item,unit, size).
3X_c_c_cc28e67e47109335e7239570f636225322a4ca44.png

0 6 202
6 REPLIES 6

Aurelien
Google Developer Expert
Google Developer Expert

Hi @gokul_krishnan

please have a look here:

I tried to create an expression just for price. it is not valid. can you guys help me out??
SELECT(Prod[Price], ([Size] = [_THISROW].[Size]), ([Unit] = [_THISROW].[Unit]), ([Item] = [_THISROW].[Item]))

Hi @Gokulakrishnan_Praba

You made a good job so far.
Just missing a AND() statement

SELECT(Prod[Price],
  AND(
   [Size] = [_THISROW].[Size], 
   [Unit] = [_THISROW].[Unit], 
   [Item] = [_THISROW].[Item]
  )
)

Thank you Its working, but it is not auto selecting. I entered it in valid_if
3X_e_e_ee5e2a73b2b7b6a5af1627bf87636ca55be4afb5.png

Valid_IF needs to be a TRUE OR FALSE result, not a number

Got it to work in initial value!! with Any()

Top Labels in this Space