Get Started: AI Resources for Oracle Cloud HCM – Go Here
Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
SUBSTRING function to separate multiple Valid Grades
Summary
We are trying to separate each valid grade into a separate columnContent
When pulling job codes and valid grades, all valid grades are in one cell. We would like to separate them into multiple columns (or duplicate rows ideally, but that has been more difficult and we can work with multiple columns). I was able to get the first grade and the second grade using the below formulas, but cannot figure out the formula to get the third or fourth grade.
Grade 1: CASE WHEN LOCATE(',', "Job"."Valid Grades")=0 THEN NULL ELSE SUBSTRING("Job"."Valid Grades" FROM 1 FOR LOCATE(',', "Job"."Valid Grades")-1) END
0