Show values based on Select formula = Formatting EnumList view

I have a few questions that I would appreciate help with.

These are my tables:

Pejme_0-1652150952732.png

Pejme_1-1652150977335.png

Pejme_2-1652150999066.png

 

QUESTION 1
In the order table, I want the user to be able to chose what type of order is going to be made, and I want the dropdown to only show the products that are associated to the chosen type(s). I can get this to work if only on type is chosen.

Pejme_5-1652153291130.png

Pejme_6-1652153320774.png
Pejme_7-1652153345029.png
Pejme_8-1652153356211.png

 

But I can't get it to work when there are multiple types chosen. One issue that I get is because my current settings/formulas have problems  to Cannot compare Text with List in ([_THISROW].[Type] = [Type]).

Pejme_9-1652153914520.png

The second problem is that even if I change everything to EnumList, then I will still not get all the correct products show. The Products field will not even show.

Pejme_10-1652149463868.png

How can I be able to choose multiple types and have the product dropdown show the associated products to those types?

 

QUESTION 2
Is it possible to format the dropdown list to create paragraphs/new lines so each product is shown in a new row as per the cells in Google sheet?

Pejme_3-1652151336378.png

Pejme_4-1652153183628.png

Solved Solved
0 16 452
1 ACCEPTED SOLUTION

Question 1:

Use IN().

SELECT(Products[Product], IN([Type], [_ThisRow].[Type]))

Question 2:

Use SUBSTITUTE()

SUBSTITUTE([EnumList or List column], " , ", "
// this is a manual, explicit, empty newline
"

 

View solution in original post

16 REPLIES 16
Top Labels in this Space