Oracle Transactional Business Intelligence

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

OTBI Session Variable

Accepted answer
22
Views
10
Comments
Sean-B-01
Sean-B-01 Rank 4 - Community Specialist

Hello,

I have a dashboard where I'm trying to create an instance of it for when an end user opens it the name column auto populates with their name and only their name so that they can't try and search for someone else. I know the other option would be apply the session variable to the reports within the dashboard.

This is all within PPM, what would the session variable be to just grab the user's name so that it fills in for a prompt such as project manager or where it can be applied to reports so it's only limited to that PM's data?

Thank you,

Sean

Best Answer

  • Bhaskar Konar
    Bhaskar Konar Rank 8 - Analytics Strategist
    Answer ✓

    If you look at the Prompt I used the following:

    Values:

    SELECT    "Workforce Management - Worker Assignment Real Time"."Worker"."Employee Display Name" s_1 FROM "Workforce Management - Worker Assignment Real Time" WHERE ("Worker"."User Name" =  VALUEOF(NQ_SESSION."USER"))
    

    Default:

    SELECT
    "Workforce Management - Worker Assignment Real Time"."Worker"."Employee Display Name" s_1
    FROM "Workforce Management - Worker Assignment Real Time"
    WHERE
    ("Worker"."User Name" = VALUEOF(NQ_SESSION."USER"))

Answers