Get Started with Redwood for Oracle Cloud HCM Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
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