Oracle Analytics Cloud and Server

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

extract location field between 2 dates across 2 records

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

Hi all

I am new to Oracle BIEE and currently learning to use it to generate reports using drag and drop analysis.

I want to extract the location of my customers using a list of customers with various transaction date time. Appreciate any help here.

List of customers with transaction date time:

Customer ID     Transaction date time

1                         20/1/2019 18:00

2                         22/1/2019 20:00

The data structure is like this:

Customer IDEvent ID
Check in date time

Location

1120/1/2019 13:00Location 1
1120/1/2019 14:00Location 2
1221/1/2019 08:00Location 1
1322/1/2019 15:00Location 3
1422/1/2019 19:00Location 4
21121/1/2019 08:00Location 5
21222/1/2019 15:00Location 1
21322/1/2019 19:00Location 4
32119/1/2019 10:30Location 1

Answers

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

    Not sure I understand your requirement here. What do you mean "extract the location"?

    Just show the "Location" column per "Customer Id"?

  • Jay_c
    Jay_c Rank 1 - Community Starter

    Hi Christian

    Sorry for not making the question clear and my poor english.

    The table is the lookup table.

    I need to tabulate the location into the list by looking at the table where the customer is by using the date and time in the list.

    The expected answers are

    Customer ID     Transaction date time  location of customer

    1                         20/1/2019 18:00          Location 2 (as customer checked in to this location at 14:00)

    2                         22/1/2019 20:00          Location 4 (as customer checked in to this location at 15:00)