Oracle Analytics Cloud and Server

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

Repository Variable in DV Parameter

Accepted answer
91
Views
5
Comments

Can we user Dynamic or session variables in DV Parameters?

Best Answer

Answers

  • Thanks @Sumanth V -Oracle . I upvoted to that idea.

  • Harish V-Oracle
    Harish V-Oracle Rank 1 - Community Starter

    @Subhakara Netala-Oracle

    You can use VALUEOF(expr) syntax to reference session variables in DV

    Please refer to following Note which has more details

    How To Reference and Display Oracle Business Intelligence Repository and Session Variables In Oracle Analytics Data Visualization (Doc ID 2436328.1)

  • @Harish V-Oracle, I am aware of that, my question is related to Parameters. As of now we cant use Variables in Parameters. We may get his option in future and this idea was already suggested, you can upvote for that idea.

  • Harish V-Oracle
    Harish V-Oracle Rank 1 - Community Starter

    @Subhakara Netala-Oracle -

    I thought Your query is about using Dynamic or session variables in DV Parameters and this is possible.

    Assuming, I create a parameter in a DV workbook, I can populate the values of the parameter using "Logical SQL Query" option with a logical query as something like

    select "Product Type" from "Sample Sales" where Region=valueof(NQ_SESSION.REGVAR)

    where REGVAR is a session variable defined in the rpd.

    Idea that you are referring to is about using DV parameters in data set definitions. If this is the requirement You were looking for then fine.