How can I show data as per user id

I have a sheet where sales person name is mention with their assigned brand:-

Item IDItem NameBrandSales Person
835789000000014648Red Bull ED 330 MlRed BullSales Person1
835789000000014657Red Bull ED 350 MlRed BullSales Person1
835789000000014666Red Bull ED 250 MlRed BullSales Person1
835789000000014675Red Bull ED Red 250 MlRed BullSales Person1
835789000000014684Red Bull ED Sugar Free 250 MlRed BullSales Person1
835789000000014693Red Bull ED Sugar Free 330 MlRed BullSales Person1
835789000000014702Red Bull ED Yellow 250 MlRed BullSales Person1
835789000000019046Apple Juice 1 LtrDaburSales Person2
835789000000019055Real koolerz 2 Juice 125 MlDaburSales Person2

Now, I want when a sales person is filling order form having (Sale Person, Order Id, Brand,Item,QTY), Only their linked brand and item will shown.
For example when sale person filled Sales Person 1 then in Brand col only Red Bull will show. 

0 1 64
1 REPLY 1

Aurelien
Google Developer Expert
Google Developer Expert

Hi @Fabhoreca 

You may want to use the valid_If expression of the Item.

This is a dependent-dropdown.

Drop-down from Valid_If - AppSheet Help

You may need to use this expression:

FILTER("Item", 
  [Sales Person]=USEREMAIL()
)

Reference: FILTER() - AppSheet Help

 Or, even more efficient: use a security filter, so that the Sales Person can only access the item that matches the assigned brand.

For reference:

Security filters: The Essentials - AppSheet Help

 

Top Labels in this Space