Trying to extract row with certain criteria
Posted: Mon Apr 22, 2019 1:45 am
Hi,
I am bringing in 4 sequential files and performing a funnel. An example is shown below of one person with three rows:
ID NAME Stat Code Stat Code Description
17137 TOM 05 RECEIVED
17138 TOM 04 ADD'L
17139 TOM 08 PENDING
The files (combined) are 125 rows. I bring this into the transformer stage, where I want to extract all NAMES with a 04 stat code into the next stage.
*If the row doesn't have a 04 code or multiple rows without a 04 code, they will just pass into the next stage*
I tried a constraint but I cannot get it to work. Any guidance would be greatly appreciated.
Thanks
I am bringing in 4 sequential files and performing a funnel. An example is shown below of one person with three rows:
ID NAME Stat Code Stat Code Description
17137 TOM 05 RECEIVED
17138 TOM 04 ADD'L
17139 TOM 08 PENDING
The files (combined) are 125 rows. I bring this into the transformer stage, where I want to extract all NAMES with a 04 stat code into the next stage.
*If the row doesn't have a 04 code or multiple rows without a 04 code, they will just pass into the next stage*
I tried a constraint but I cannot get it to work. Any guidance would be greatly appreciated.
Thanks