OBIEE - Where can I use a presentation variable ?

Saw Object

About

You can reference presentation variables in the following areas :

  • Answers :
    • Title Views
    • Narrative Views
    • Column Filters
    • Column Formulas
    • Conditional Formatting conditions
    • Chart scale markers.
    • Gauge range settings.
    • Static text.
  • iBot Headlines and text

Some examples are given below with a presentation variable “Year” and as default value the max of the year :

@{Year}{max(Calendar."Calendar Year" by) }

A prompt has been first created to set the presentation variable : OBIEE 10G/11G - How to set a presentation variable ?

Answer

Formula Column

Obiee Presentation Variable Formula Column

You can also set it in a formula. Example :

CASE 
   WHEN @{Year}{max(Calendar."Calendar Year" by) } = '2001' THEN 'It''s the year 2001' 
   ELSE 'You choose an other year' end

or

CASE  
WHEN  @{Year}{max(Calendar."Calendar Year" by) } <  Calendar."Calendar Year" 
   THEN 'The Year is greater than the presentation variable ' || 
       cast(@{Year}{max(Calendar."Calendar Year" by) }  as char)   
WHEN @{Year}{max(Calendar."Calendar Year" by) } =  Calendar."Calendar Year" 
   THEN 'The Year is equal to the presentation variable ' || 
       cast(@{Year}{max(Calendar."Calendar Year" by) }  as char)  
ELSE 'The Year is smaller than the presentation variable ' || 
      cast(@{Year}{max(Calendar."Calendar Year" by) }  as char) end

Filter

Obiee Filter Presentation Variable

Title View

OBIEE - Title View

Obiee Presentation Variable Date Format

Static Text View

OBIEE - Static Text View

Obiee Static Text Presentation Variable

Conditional Formatting

OBIEE 10G/11G - Conditional Formatting

Obiee Column Format Conditional Presentation Variable

Dashboard Object Text

You can also use a presentation variable in a dashboard text object.





Discover More
Obiee Presentation Variable Date Format
OBIEE - Presentation Variables

The presentation variable is the only variable offer by the presentation service. You can use direct some system presentation variable (pre-populate or system presentation variable). You can set it up...
Obiee Setting Presentation Variable
OBIEE 10G/11G - How to set a presentation variable ?

You can set up a presentation variable: only through the user interface programmatically with javascript is not yet supported And you can use it then in many places : Which means: use...



Share this page:
Follow us:
Task Runner