I am trying to hide a column "initial deliver...

I am trying to hide a column โ€œinitial delivery quantityโ€ in a deliveries form if it is the second or any subsequent delivery to the same address( a key value). The idea being when you pick the delivery address from the dropdown menu on the delivery form, it will hide the โ€œinitial delivery quantityโ€ from the form if Iโ€™ve delivered their before. Canโ€™t get me head round the problem. Can anyone help? Tried this in the show_if section:

COUNT(SELECT(Deliveries[Product], [Address] = [Address Name]))=0

โ€œAddressโ€ in the Deliveries table and is a REF to โ€œAddress Nameโ€ in the customer table

0 3 319
3 REPLIES 3

How about COUNT(SELECT(Deliveries[Product], [Address] = [_THISROW].[Address Name]))=0

Worked a treat, thanks Alkio.

Youโ€™re welcome

Top Labels in this Space