Oracle Analytics Cloud and Server

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

Cross Joining Rows

Received Response
2
Views
1
Comments
user1759221
user1759221 Rank 1 - Community Starter

Using OBI 11g, How do I transform the following results from that in figure-1

in an Answer analysis to the one in figure-2?

Thanks in advance.

      

Initial Result
  (Fig-1):
Product IDContact TypeContact DatePart NumberPart Order Date100-Day Pre Order
  Date
Pre-Order Cust.
  Inq. Count
221Cust. Inq.02/11/2016
221Cust. Inq.02/17/2016
221Cust. Inq.03/01/2016
221Part Order02/15/2016A618202/15/201611/07/2015
221Part Order04/20/2016A687104/20/201601/11/2016
221Cust. Inq.03/21/2016
221Part Order05/14/2016B120405/14/201602/04/2016
221Cust. Inq.05/25/2016

Desired Result
  (fig-2):

Product IDContact TypeContact DatePart NumberPart Order Date100-Day Pre Order
  Date
Pre-Order Cust.
  Inq. Count
221Part Order02/15/2016A618202/15/201611/07/20152
221Cust. Inq.02/10/2016A618202/15/201611/07/20152
221Cust. Inq.02/14/2016A618202/15/201611/07/20152
221Cust. Inq.03/01/2016A618202/15/201611/07/20152
221Cust. Inq.03/21/2016A618202/15/201611/07/20152
221Cust. Inq.05/05/2016A618202/15/201611/07/20152
221Part Order04/20/2016A687104/20/201601/11/20164
221Cust. Inq.02/11/2016A687104/20/201601/11/20164
221Cust. Inq.02/17/2016A687104/20/201601/11/20164
221Cust. Inq.03/01/2016A687104/20/201601/11/20164
221Cust. Inq.03/21/2016A687104/20/201601/11/20164
221Cust. Inq.05/05/2016A687104/20/201601/11/20164
221Part Order05/14/2016B120405/14/201602/04/20165
221Cust. Inq.02/11/2016B120405/14/201602/04/20165
221Cust. Inq.02/17/2016B120405/14/201602/04/20165
221Cust. Inq.03/01/2016B120405/14/201602/04/20165
221Cust. Inq.03/21/2016B120405/14/201602/04/20165
221Cust. Inq.05/05/2016B120405/14/201602/04/20165

Answers

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner

    I don't get what you are trying to achieve here. Repeat the 5 "Cust Inq" rows for each "Part Order" row?

    The thing is you probably are trying to draw sth with pen & paper that's due to a messed up initial interpretation of a weird "requirement" and based on a data model that's also not made properly.