Oracle Analytics Cloud and Server

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

Changing 'All Column Values' in dashboard prompt

378
Views
7
Comments
Rank 3 - Community Apprentice

Hi All,

In OBIEE 12c, how to modify the dashboard prompt All label value? I do not want to change value in XML file , because it will impact all dashboard prompt value.

Is it there better method to implement this problem?

For example:

In dashboard prompt-->edit -->options--->tick 'Include "All Column Values" choice in the list', so I can view '(All Column Values)' value in prompt. Customers want to changed this value,such as 'all values'. Is it possible? Thanks.

This query is already been raised and answered previously in oracle community with the reference

http://www.varanasisaichand.com/2010/01/editing-all-choices-in-dashboard.html

However, i am not able to find the content in the mentioned link.

Could someone please help me to retrive the contents of this? Otherwise please let me know the sql query which i can use as union all to acheive this.

Best Regards,

Ritesh

Welcome!

It looks like you're new here. Sign in or register to get started.

Comments

  • Rank 8 - Analytics Strategist

    If I understand what you are asking for then; -

    Change your column prompt to sql and add the following on the end; -

    union

    Select distinct 'WhatEverYouWantForAllValuesHere' from dual   - you may have to change dual if it is not in your DB - pick any SMALL table

    Then in your filter, change it to SQL and; -

    Dimension.Field in( case when '@{YourPromptPresentationVariableHere}' = 'WhatEverYouWantForAllValuesHere' then Dimension.Field else '@YourPromptPresentationVariableHere' end )

    Again change Dimension.Field to suit your individual scenario.

  • Rank 3 - Community Apprentice

    Hi Robert,

    Thanks a lot ! !

    Though its not complete but helped me to achieve the functionality.

    I am providing below the complete steps to achieve this. I can not attach the document due to information sensitivity.

    Steps to Change the Custom Dashboard default prompt value [“All Column Values to “All”]

    Step 1: Create a Column dashboard Prompt “Columnname_Prompt”.

    1. Operator : is equal to /is in
    2. User Input : Choice List
    3. Choice List Values : SQL Result
    4. Select the checkbox for “Enable user to select multiple Values” & “Enable user to type Values”
    5. Auto Fill : None
    6. Default Selection: Specific Value --> Choose “All”  to display"All'  on the prompt as default.
    7. Set a Variable : Presentation Variable
    8. Variable Name : pv_name
    9. SQL Statement under SQL Result ( # c)

         SELECT DISTINCT “TableName"."Columnname"

          FROM "Tablename"

          FETCH FIRST 65001 ROWS ONLY 

          UNION

         SELECT CASE WHEN 1=0 

                        THEN "TableName"."Columnname"

                        ELSE 'All' 

                        END

         FROM "SubjectAreaName"

    j)Save the changes.

    Step 2: Create a Report called “Reprotname”

    1. Create a “Advance SQL Filter” and write the SQL statement as below

    "Tablename"."Columnname" in

      (case when 'All' =  '@{pv_name}' 

        then "Tablename"."Columnname"

        else '@{pv_name}' end)

    1. Make Columnname filed as Prompted.
    2. Save the Report.

    Step 3: Create one dashboard. Place both prompt and reprot and test it.

    Hope this will help to others as well.

    Best Regards,

    Ritesh

  • Rank 8 - Analytics Strategist

    Thanks Ritesh, glad you got there and respect for the fuller documentation for the benefit of others.

    Can you close your question also please and mark as appropriate.

  • Rank 3 - Community Apprentice

    Hi Robert,

    Please guide me how to close this thread. Not able to find the option to close it.

    Best Reagrds,

    Ritesh

  • Rank 6 - Analytics Lead

    You can close the thread by marking one of the answers as correct. I think that should be your own answer in this case. However, you should first mark Roberts answer as helpful because he pointed you in the right direction

  • Rank 3 - Community Apprentice

    This is very helpful.

  • Rank 8 - Analytics Strategist

    Hi Ritesh,

    Your answer made me smile...

    The idea is that you press the 'Assume Answered' button to just close the call without awarding points if you think no one has helped you or you are not feeling generous.

    At the other extreme you can click on 'Answered' and it will close the call and award points - if you are marking another's answer as correct, or not award points if you are marking your own answer as correct.

    Between these two extremes there is also clicking on helpful for questions that have helped but not answered your question, and then click on 'Assume Answered' so the question does not remain open.

Welcome!

It looks like you're new here. Sign in or register to get started.