I have data in below format. I need to run a rule as below - If column A contains value 15, it should be flagged as Valid, else it should be flagged as Invalid
Below is my Input and expected Output data
Input Data
Key | Value
----|-----------
1221|10,15,23,33
1123|10,11,12
1990|19,15
1000|null
Below is my expected output
Key | Value | Validation Result|
----|-----------|------------------|
1221|10,15,23,33| Valid|
1123|10,11,12 | Invalid|
1990|19,15 | Valid|
1000|null | Invalid|
------------------------------------
I did try something with the split function, but it just splits into multiple rows, looking for something without splitting
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.