Hi, I am new here and this is my first post, can someone please guide me here. Below is my sample data set
| Request ID | Flag 1 | Flag 2 | Flag 3 |
| A | 1 | 0 | 0 |
| A | 0 | 1 | 0 |
| A | 1 | 0 | 0 |
| B | 1 | 0 | 0 |
| B | 0 | 0 | 1 |
| B | 0 | 1 | 0 |
| B | 0 | 0 | 0 |
| B | 0 | 1 | 0 |
| C | 0 | 0 | 1 |
| C | 0 | 1 | 0 |
| C | 0 | 0 | 0 |
| D | 0 | 1 | 0 |
| D | 0 | 0 | 0 |
| D | 1 | 0 | 0 |
| D | 0 | 0 | 1 |
I need to extract distinct Request ID's that have all three flags has 1 in any row into a new column. In the above table the final output column would identify 'B' and 'D' Request ID's as they have 1 in columns Flag 1, Flag 2, Flag 3.