Oracle Transactional Business Intelligence

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Cell Splitting based on special character

61
Views
2
Comments

Summary

Split a field into two columns based on character

Content

Suppose I have a field (Name) in Last Name, First Name format. 

I want to make this into two columns instead that is Last Name and First Name by splitting the field based on the comma. Is this possible in OTBI and how would I accomplish this? 

I want to do this for the hiring manager and recruiter fields in Taleo BI but first name and last name aren't applicable choices for this so I'm trying to use a formula instead.

Comments

  • Kristen Magno
    Kristen Magno Rank 2 - Community Beginner

    So if you are in Taleo recruiting subject area this is actually available. First and Last name is not available for Hiring Managers or Recruiters in the Recruiting (Legacy) subject area though. 

    Also, was able to figure this out by reading some forums. 

    This is the formulas I used:

    • Last Name: SUBSTRING("Requisition Structure"."Req. Hiring Manager Name" FROM LOCATE(',',"Requisition Structure"."Req. Hiring Manager Name")+2 FOR LENGTH("Requisition Structure"."Req. Hiring Manager Name"))
    • First Name: SUBSTRING("Requisition Structure"."Req. Hiring Manager Name" FROM 1 FOR (LOCATE(',',"Requisition Structure"."Req. Hiring Manager Name"))-1)
  • Kim Welker
    Kim Welker Rank 3 - Community Apprentice

    This is GREAT! Thanks for the suggestion!