I am trying to figure out how to properly write the dependent dropdown expression using the โORDERBYโ expression to sort the resulting responses alphabetically.
Dependent drop down expression:
IN( [_THIS], SELECT(Inventory Items[Category], [_THISROW].[Factory] = [Category]))
Attempted to add orderby:
ORDERBY(IN( [_THIS],SELECT(Inventory Items[Category], [_THISROW].[Factory] = [Category]),[category]))
I get the error โORDERBY has invalid inputsโ
Iโm pretty sure I wrote the expression wrong but I canโt seem to figure out the correct way. Any suggestions?
Thank you @Steve I read the article but i seem to be miss understanding the structure of the expression.
The dependant dropdown expression should provide the list( Row key) of available responses filtered to provide only items that correspond with items in the โfactoryโ column.
I also provided the column name for the sort(sort key) but i still get the error. Iโm relatively new to this and I am not interpreting the instructions correctly. I also tried the sort expression but wound up with the same error.
IN() produces a singular Yes/No value, but ORDERBY() wants a list of Ref values. A Ref value is a value of the key column of a row of a table.
Is Category the key column of the Inventory Items table?
See also:
User | Count |
---|---|
42 | |
33 | |
24 | |
23 | |
14 |