Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
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.

BIP Report: Converting multiple row & multiple column values into single row and multiple column val

edited Feb 17, 2020 6:49AM in Reporting and Analytics for HCM 1 comment

Summary

BIP Report: Converting multiple row & multiple column values into single row and multiple column value

Content

Dear Experts

I am working on a BIP report (SQL query based) on which I need to extract data as per the below requirement. 

Sample Back end Table data:

Person Number Content Type Id Designation Email Address Department Work Location Mailing Address
12345 1101 Delivery Manager        
12345 1102   testemail@gmail.com      
12345 1103     A00    
12345 1104       HLL-E1  
12345 1105         Home Address
45678 1101 Senior Consultant        
45678 1103     A12    
45678 1105         Work Address


Required output: 

Person Number Designation Email Address Department Work Location Mailing Address
12345 Delivery Manager testemail@gmail.com A00 HLL-E1 Home Address
45678 Senior Consultant   A12   Work Address

I have tried PIVOT function but couldn't achieve as the values are split across different columns. since actual data volume is huge more than 100,000 records, I am trying to to extract data in desired format within data model query instead of etext template. 

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!