Forum Discussion
FILTER function with a List as filter condition
- 4 years ago
Anonymous
Simply
VAR ItemList = VALUES(dimProduct[ItemNumber)
Thank you! I'm feeling really stupid right now, I saw that a minute after I made this post. Do you have any idea how I would automatically generate such a ItemList-String variably, though? I.e. using a CONCATENATEX?
Anonymous
Generate it out of what? What is the input? Also CNCATENATEX won't help you, you need a table not a scallar concatenated string value
- Anonymous4 years agoNot applicable
Thank you so much for your help. Keeping it simple, it would be a dimProduct table that is filtered many different ways in i.a. a table visual with filter visuals next to it, so my initial thought would be replacing the List string with
VAR ItemList = CONCATENATEX(dimProduct, dimProduct[ItemNumber], ",")But as you say, I don't get the right thing out of this. CONCATENATEX isn't the right function. How do I get there, though?
- tamerj14 years agoCommunity Champion
Anonymous
Simply
VAR ItemList = VALUES(dimProduct[ItemNumber)