General OBIEE

Get Involved. Join the Conversation.

Topic

    Kristen Magno
    Cell Splitting based on special character
    Topic posted June 30, 2016 by Kristen MagnoBronze Medal: 1,250+ Points, tagged Analyses, Core HR, OBIEE Answers, OTBI 
    84 Views, 2 Comments
    Title:
    Cell Splitting based on special character
    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.

    Comment

     

    • Kristen Magno

      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

      This is GREAT! Thanks for the suggestion!