Hi, I have an inventory app. For adding a ne...

Hi,

I have an inventory app. For adding a new item form:

ID[uniek]{text type} item name{text type} category{EnumList}

for example: ID- โ€œXTY4421โ€ Item name - โ€œbananaโ€ Category - โ€œfruits, yellow, happyโ€ (I choose 3 categories)(3 values in one cell)

is it possible to use the Select function if only one of the categories is equals? In order to open a list that related to a category.

for example: I pick โ€œyellowโ€, and the item list will โ€œbananaโ€. or if I pick โ€œfruitsโ€ ill get โ€œbananaโ€ also.

thanks in advance.

0 6 340
6 REPLIES 6

You can use syntax asโ€ฆ SELECT(TableName[Item Name],IN([Category],[_THISROW].[Category]))

Thanks, but still not working. I donโ€™t see the items that have several categories. only the item that has one category

#ERROR!

Let me test thisโ€ฆ

OK now I manage to succeed!

=SELECT(Stock[items],and(in([_THISROW].[catgory],[category]),[in stock]=Y))

Okay good. I probably misunderstood you column structure slightly.

Top Labels in this Space