Receive updates about the latest news

Subscribe to our newsletter

Do not miss any updates about Miaz-Tech valuable articles, publications, newsletters and event invitations.

    • What is dbt_artifacts?

      dbt_artifacts is a package for modeling a dbt project and its run metadata. It includes the following models to help you understand the current state of a dbt project and its performance over time. It...

    • Data migration from the Salesforce to snowflake Data warehouse by using Matillion

      Purpose of the Article: This blog explains how to load the data from Salesforce to Snowflake Intended Audience: This article will help our Organizational level kind of developers working on data migra...

    • WiMAX-A Study of Mobility

      1. Introduction The wireless market is growing rapidly; being pushed through wireless connectivity demand various wireless connectivity means are emerging (WLAN/802.11, WMAN/802.16a, WWAN/802.16d) [IE...

    • Weblogic Upgrade

      Patch Name wls1036_upgrade_generic.jar Reference https://www.youtube.com/watch?v=Be6hrYTANQE Just Click Next and Next MAKE SURE ALL OBIEE SERVICES ARE DOWN AND CLOSED IN PROCESS Open CMD prompt C:Mid...

    Tags

    bics installation OBIEE obiee 11g installation guide Oracle

    Categories

    OBIEE 11g Hide/Show Sections based on Dashboard Prompt

    OBIEE 11g Hide/Show Sections based on Dashboard Prompt

    Recently I came across a customer requirement to allow a user’s interaction to hide/show certain sections of a dashboard. In this particular case the user wanted to choose either ‘Quarterly’ or ‘Monthly’ and the appropriate sections of a dashboard would be shown.

    To achieve this I used a number of techniques, some of which are different in OBIEE 11gR1 compared with the previous version. In summary a few elements are required:

    1. A Dashboard Prompt which sets a Presentation Varaiable.
    2. An interim Analysis which returns a single row for one of the possible user choices.
    3. A Condition which evaluates to true when the Analysis in (2) returns a row.
    4. A Dashboard with the Condition applied to the Sections which will be shown / hidden.

    Firstly, the dashboard prompt. I used a Variable Prompt based on radio buttons with the settings as per the screenshot below.

    Secondly the interim, dummy Analysis. I added a single column to a new request and changed its formula to be simply ‘Monthly’ (including the single quotes). I then added a filter to this column, selected presentation variable and entered the name ‘timescale’ as per the prompt created earlier. The default text for the variable can be any value.

    Next I created a new dashboard page and set up the desired layout – 2 columns with the right hand side containing 2 sections. To the left column I added the dashboard prompt created earlier. The sections on the right just contain dummy, static text objects for now.

    The final piece of the jigsaw is to add Conditions to the right hand sections. I clicked the section properties, chose ‘Condition…’ and then clicked the icon to select a new one. After browsing to the dummy report I set the “True if Row Count” property accordingly. For the Quarterly section I used “is equal to” 0.

    For the Monthly section “is equal to” 1.

    I saved the dashboard, crossed my fingers, and tried it out. As expected the report defaults to showing the Quarterly section

    Clicking Monthly in the prompt sets the presentation variable which causes the dummy report to return a single row. This in turn causes the condition on the dashboard section to evaluate to true and the Monthly section appears.

    I hope this helps someone out there.

    No Comments
    Post a Comment

    This site uses Akismet to reduce spam. Learn how your comment data is processed.