Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.

Reference without duplicates from dropdown

Hi Everyone,

I’m not sure if this is the best way to approach this, but let me try to explain the situation:

productid, productname, productseasoning
1 , cashew , salted
2 , cashew , smokehouse
3 , almonds , salted
4 , almonds , smokehouse

This list is bigger, but in this example I would get 4 choices if I reference to productid.

What I would like is to have a choice between cashew or almonds and than another choice between salted or smokehouse. By using valid_if I do get the choices, but that does not work as a reference. Is there a way to reference to a certain product id without having to pick between a list of of “duplicates”, but instead having two narrowed down choices?

Solved Solved
1 14 469
1 ACCEPTED SOLUTION

Hi @Djigi

Not sure what you need, but this is probably barrier language for me.

  1. you need to adjust the dropdown in the product ID:
    This is what you made yet, so in the Valid_If expression you probably have:
FILTER(“Production Products”, 
  AND(
    [Product ingredient] = [_THISROW].[Product ingredient], 
    [Product seasoning] = [_THISROW].[Product seasoning]
  )
)
  1. you need the app to pick in the dropdown without needing the user to enter the field.
    Here, you should keep the previous setting, and set an additional one: you need to wrap the previous expression with an ANY(), in the Initial Value field.
    So, that will be:
ANY(
  FILTER(“Production Products”, 
    AND(
      [Product ingredient] = [_THISROW].[Product ingredient], 
      [Product seasoning] = [_THISROW].[Product seasoning]
    )
  )
)

Let us know if that works for you

View solution in original post

14 REPLIES 14
Top Labels in this Space