I'm working on a simple report and my dataset looks like this:
| ID | Date | Attribute | Customer |
|---|---|---|---|
| 1111 | 2022-03/15 | NULL | Cust_B |
| 144529 | 2022-05/20 | 239 | Cust_A |
| 11223 | 2022-05/20 | NULL | Cust_C |
| 168236 | 2022-05/20 | 66 | Cust_A |
I would like to create a Parameter to manage rows based on the Attribute column, so that I can:
- select only rows with Attribute = 239
- select only rows with Attribute != 239
- select all rows
The Attribute Column is an INT column and could assume 20 different values (every number is a code for a specific type of attribute)
is it possible to do so with only a single Parameter?
I can work on the query on SQL Server