I'm having a problem figuring out how best apply a filter on my data.
As a very basic example, my data contains the following columns:
+-----------+------+------+------+------+------+
| REFERENCE | CAT1 | CAT2 | CAT3 | CAT4 | CAT5 |
+-----------+------+------+------+------+------+
| PL-001 | 50 | | | 50 | |
| PL-002 | | 100 | | | |
| PL-003 | | | 25 | 25 | 50 |
+-----------+------+------+------+------+------+
I need the user to be able to filter on a multi-value parameter where the following works:
EDIT BASED ON COMMENT BELOW: My problem is that I need one filter but I have 5 columns. I have tried creating a new column that concatenates the category names applicable and then using a LIKE or CHARINDEX function on the parameter but this doesn't work for selecting multiple values.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.