Oracle Analytics Cloud and Server

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

Default value in dynamic prompt

Received Response
94
Views
5
Comments
Rank 1 - Community Starter

Hi everybody !

I've got a prompt for my dashboard like this :

pastedImage_1.png

For each "Coil number", i can have different Dates. So i did set up my "Date DEF" column like this to dynamically get the associated dates :

pastedImage_2.png

Here are my 2 questions :

I don't want the "NULL" value to show up. How can i achieve that ?

I want to select  the max date by default. I tried to achieve this by defining a presentation variable on my "Coil Number" and using it in my SQL request as you can see in the second screenshot. But i doesn't work. I'm out of ideas... How can i get this done?

Thanks !

Welcome!

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

Answers

  • Rank 3 - Community Apprentice

    Hi,

    to get rid of the nulls, try putting the 'choice list' or 'radio button' list SQL as

    select your_column from yourmodel where 1=1 and your_column is not null

    Try setting a default figure for your presentation variable like

    where your_column = @{VAR_COIL}{98725}

  • Rank 10 - Analytics Guru

    By the way you misspelled Gandalf's sindarin name ;-)

  • Hi,

    Is "Dim Four"."Date DEF" physical column (the one mapped in the BMM) set as nullable? If it is by default OBIEE will add the NULL as the column is defined as nullable...

  • Rank 1 - Community Starter

    Thanks for your answers !

    About the NULL values, Gianni Ceresa's comment did the trick, i just had to remove the "nullable" option in the physical layer, thanks !

    But i still can't get the default value to be the max date. Setting a default value for the presentation variable didn't help...

    PS : Yep Christian, you're not the first one noticing but it's an old mistake so i just kept it that way

  • Rank 10 - Analytics Guru

    Awesome it's good to know that I'm not the only one in here weird enough to notice

Welcome!

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