OBIEE11g Practical Guide for Dashboard Building
“Product Profitability Dashboard”
History:
Version
Description Change
Author
Publish Date
0.1
Initial Draft
Kuldeep Mishra
1
stJul 2012
0.1
1
stReview
Amit Sharma
5
thJul 2012
BISP is committed to provide BEST learning material to the beginners and advance learners. In
the same series, we have prepared a complete end-to-end OBIEE Dashboard design document. The
document briefs you practical approach to create Dashboard, Analysis, Filters, Maps, KPI, scorecard
Gauge and Prompts. The document assists OBIEE11g learners to explore the various features. The
document simplifies OBIEE11g. In the first part of tutorial it is shown creation of Brand Analysis
Dashboard. The subsequent release of the case study will cover many new advanced features of
Dashboard building. Join our professional training program to learn from the experts.
Purpose
This tutorial covers steps to create OBIEE11g Dashboard, Dashboard Prompts, Filters, Analysis, Charts and
Pivots. Finally it shows how to integrate them into a single unit.
Time to Complete
Approximately 120 min.
Overview
OBIEE11g provides rich functionalities to create Dashboard and Users requests in multiple formats i.e
Chart ,
Tabular, Pivots, Filters, Gauge, Maps, Scorecard etc.
Dashboard: Single user interface to show the complete company stats in common windows.
Analysis — Business Users makes adhoc queries to satisfy various business questions by simply drag
and drop the objects.
Filters/Dashboard Prompts— Enable users to filter the records. It could be based on user inputs.
Pivot: Cross Tabular layout of the information.
Chart: Graphical view of the business data.
Gauge: An alternate way to display info where we need to project data Actual Vs Target.
Software and Hardware Requirements
The following is a list of software requirements:
Oracle Database 11g
Table of Contents
1) Dashboard Prompt “Select Metric” 4
2) Dashboard Prompt “Select Language” 12
3) Dashboard Prompt “Set Source DB Table” 19
4) Creating Pivot “Custom Group” 27
5) Creating Pivot “Target Completion” 32
6) Chart “Target Completion Chart” 49
7) Bubble Chart “Revenue Demographic” 59
8) Creating Pivot “Converted Revenue” 67
Requirement #1: As a part of our learning, we are going to create the below Dashboard called “Product Profitability
Analysis”. The dashboard is divided into multiple objects (Analysis, Prompts, Chart and Pivots etc). We are going to create below object in the specified order. This makes very easy for the learner to create the dashboard.
Now we are going to create complete dashboard in step by step manner.
Dashboard Prompt “Select Metric”
Step 1):- Create a new dashboard prompt.
To create dashboard prompt, login to Analytics and go to right pane ClickNew and select dashboard prompt and select a Subject Area as given below.
ii) After selecting subject area, dashboard prompt window will display. Here we have preview, add , open prompt for catalog , insert page break ,edit , delete options.
Now, Click the button to add a new prompt ,We have three choices. Column Prompt: - Obtain list of values from a Subject Area column.
Variable Prompt :- Provide a custom list of values to populate a variable. Image Prompt :- Allow the user to select values using an HTML
iii) Click the button and select Column Prompt then choose the Subject Area column from Select Column window.
iv) Now the column New Prompt window will display. Here we specify the following properties. ClickEdit Formula button
ClickOk.
v)Write on Label Select Metric , Select OperatorIs equal to / is in, User InputRadio Buttons.
vi) In options we are able to set various other options. In Radio Buttons ValuesSpecific Column Values from drop down list.
vii) Click Select values , Select Values window will display.
ClickOk.
Selected values are shown in Select values window.
ClickOk. After ClickOk.
viii) Default SelectionSpecific Values from drop down list.
Click Select values. After click on select value.
ClickOk.
After click ok, We can see selected value.
ix)Select Radio Button WidthDynamic , Set a variablePresentation Variable from drop down list and write the presentation variable name as Met01.
ClickOk.
x)After click ok , we see the prompt in prompt label and In display pane we see the view of prompt.
Dashboard Prompt “Select Language”
Step1):- Now we create another dashboard prompt. i)Click sign and select Column Prompt.
ii)After that choose the Subject Area column from select column window.
ClickOk.
iii) Now after chose the column New Prompt window will display. Here we specify the following properties.
ClickEdit Formula button
ClickOk.
iv)After click Ok, we see prompt for column ‘En’. Label Select Language, OperatorIs equal to / is in, User InputRadio Button .
vi) In options we are able to set various other options. In Radio Buttons ValuesSpecific Column Values from drop down list.
vii)Click Select value sign, the select values window will display.
Click on Edit button.
ClickOk. ix)After click ok
ClickOk.
x)Here we see the selected values on Specific column values drop down list.
After click on Select values window will display ,Here we select a value .
Click Ok.
xii)Here we see the selected value on specific value drop down list. Select Radio button widthDynamic ,Set a variableRequest variable from dropdown list and variable name
ClickOk.
xiii)After ClickOk ,In prompt window we see the created prompt and it’s view to the display window.
Dashboard Prompt “Select Metric”
Step1):- Now we create another dashboard prompt . i) Click sign and select Column Prompt.
iii)After selected Column Prompt, Select Column window will display. then choose the Subject Area columns from Select Column window.
ClickOk.
Dashboard Prompt “Set Source DB Table”
iv) Now, the column New Prompt window will display. Here we specify the following properties. ClickEdit Formula button
ClickOk.
iv) After click Ok, we see prompt for column as ‘B’. Label Set Source DB Table, OperatorIs equal to / is in, User InputRadio Button .
v)In options we are able to set various other options. In Radio Buttons ValuesSpecific Column Values from drop down list.
vi)Click Select values , Select Values window will display.
ClickOk.
viii) After ClickOk we see the values in selected pane.
ClickOk.
Click select value , after click on Select Values window will display.
Select a value and ClickOk.
xi)Here we see the specific value ,Radio Button width Dynamic , Set a variable-Request Variable and write variable name as Dynamic_Product_Table.
xii)After ClickOk ,In prompt window we see the created prompt and it’s view to the display window.
Click on Save button.
xiii)After click on Save as button, Save as window will display here we give the name of prompt and show the location where the prompt save.
ClickOk.
Dashboard Prompt “Currency”
i)Go to NewDashboard Prompt and SelectSubject Area (Sample Sales as previously) then the dashboard prompt window will display.
ii)Click sign and SelectCurrency Prompt.
iii)After click on currency prompt the New Prompt window will display.
Here we set LabelCurrency and Choice List WidthDynamic
ClickOk.
iv)After click ok, we see the created currency prompt and also see the view of prompt in display pane.
v)Now ClickSave as button ,then the Save as window will display.
ClickOk.
Creating Pivot “Custom Group”
Step 3):- Now, we create the first report of Product Details dashboard called as Custom Group. i)Click on NewAnalysis then chose subject area from Select Subject Area.
ii)Select tables column from left side Subject Area pane within Criteria.
iii)In Base Facts(Revenue)Edit Formula.
v)In Edit Column Formula we change Column Heading, CheckCustom Heading and Custom HTML Markup , Aggregation RuleSum.
ClickOk.
vi)After set all properties in criteria ClickResult tab and here we see result in below image. ClickEdit View option on pivot table.
vii)After click on edit view option on pivot table, the edit view window will display. Here we set properties like RowsProducts (Product Hierarchy),ColumnsTime(T05 Per Name Year),MeasuresBase Facts,
ExcludeMeasure Labels. In columns Click summation and Select After to show grand total.
After set all properties ClickDone.
ix)After click on edit view on title ,the edit view window will display. SetTitle as Custom Group, Started TimeDisplay date and time.
ClickDone.
xi) Now Click on save button ,the save as window will display to save the report.
ClickOk.
Creating Pivot “Target Completion”
Step 4):- Now, we create the second report of Product Details dashboard called as Target Completion.
i)Click on NewAnalysis then chose subject area from Select Subject Area pane. Here , Subject AreaSample Sales..
iii)In Base Facts(Revenue)Edit Formula.
iv)CheckCustom Heading ,Change Column HeadingActual, AggregationDefault(Sum), Column Formula”Base Facts”.”1-Revenue”/1000000.
ClickOk.
v)In Base Facts(Actual)Column Properties.
vi)In column properties SelectStyle tab and set properties.
vi)In column properties ClickData Format, CheckOverride Default Data Format , Custom Numeric Format#.00M
ClickOk.
vii)In Base Facts(5-Target Revenue) Edit Formula
viii)Edit Column Formula window will display, Here we CheckCustom Heading change Column
ClickOk.
ix)In Base Facts(Target)Column Properties.
ClickOk.
xi) In column properties ClickData Format, Treat Numbers AsCustom, CheckOverride Default Data Format , Custom Numeric Format#.00M
ClickOk.
xii)In Base Facts(Revenue)Edit Formula
xiii)In Edit Column Formula, CheckCustom Heading ,Column HeadingCompletion , Aggregation ruleNone , Set Column Formula.
xiv)In Base Facts(Completion)Column Properties.
xv)In Column PropertiesData Format tab ,CheckOverride Default Data Format ,Treat Text AsHTML from drop down list .
ClickOk.
xvii) In Edit Column Formula, CheckCustom Heading ,Column Heading% , Aggregation ruleDefault(Sum) and Set Column Formula.
ClickOk.
xviii)Now , We see the criteria as below image.
xxii)ClickNew View and SelectPivot Table.
xxii) Now we set the properties in edit window. As same in below image. In Pivot table promptsTime(T05 Per Name Year) , RowsProducts(P4 Brand) and Click After, ColumnsMeasure Labels ,MeasuresBase Facts(Actual ,Target ,Completion),Simple Calculation%..
xxiv) Go to criteria Simple Calculation(%)Column Properties
Select column from add condition .
After select column from add condition. New condition window will display. Select OperatorIs greater than ,Value115.
ClickOk.
ClickOk
xxvi) After ClickOk, We see the first condition in conditional format tab. Once again click on add condition and select the column on which make a condition .
.
ClickOk.
After Click on ok. Edit Format window will display and here we set the properties color and background color.
ClickOk.
After ClickOk, We see the both first and second condition in conditional format tab within the column properties.
ClickOk.
xxvii)Now, ClickResult tab and see the result.
xxviii)ClickEdit on Title. The title window will display ,write the title of report in title box ,SelectDisplay Date and Time from Started Time drop down list.
After set properties Click.Done. xxix)Go to result and see the result.
ClickOk.
Chart “Target Completion Chart”
Step 5):- Now, we create the Third report of Product Details dashboard called as Target Completion Chart.
i)Click on NewAnalysis then chose subject area from Select Subject Area pane.Here , Subject AreaSample Sales.
Similarly, chose previous report (Target Completion) criteria.
and set all properties. After set all properties ,we see the properties as
ii)ClickNew ViewGraphLineDefault.
iii) Click Edit on Graph. The edit graph window will display.
iv)Measures(Lines(Vertical Axis))% , Line(Group By(Horizontal Axis))T04 Per Name Half , Line(Vary Color By (Horizontal Axis))P4 Brand ,ExcludeT05 Per Name Year, Actual, Target
vi)Click Edit graph property, Graph properties window will display ,here we select General tab. In general tab Canvas Width450 , Canvas Height200 , Legend LocationRight .
ClickOk.
ClickStyle and Conditional Formatting ,
ClickScale Markers ,Scale Markers window will display. Here we Click Customize Scale Marker, The customize scale marker window will display. Scale Marker as Static Value 100.
ClickOk.
After set all properties we see scale marker window.
ClickOk.
ix)Now, ClickTitles and Labels and set it’s properties TitleCompletion % ,In Labels ClickVertical Axis Labels
ClickNumber Format tab, CheckOverride Default Data Format and set all properties.
ClickOk.
Here we see the vertical axis label . ClickHorizontal Axis Label.
ClickOk.
Here we see the Vertical and Horizontal axis labels.
ClickOk. x)ClickResult tab and see the result.
Now Click on save button ,the save as window will display to save the report.
Bubble Chart “Revenue Demographic”
Step 6):- Now, we create the second report of Product Details dashboard called as Revenue Demographic. i)Click on NewAnalysis then chose subject area from Select Subject Area pane .Here , Subject AreaSample Sales.
ii) Select tables column from left side Subject Area pane within Criteria.
iii)ClickEdit Formula in Base Facts(Revenue)
iv)After click on edit formula the edit column formula window will display. CheckCustom Heading ,Aggregation RuleDefault(Sum) and set the Column Formula.
v) Now , ClickResult tab then ClickNew ViewGraphBubble.
vi)After selecting bubble we see the result .
vii) Click Edit View on graph. The Edit View window will display. In Bubble Graph(Measures)XY (Horizontal Axis)23 Avg # of Orders by Customer, XY (Vertical Axis)C21 Customer Age, XY (Bubble Size)1-Revenue ,
Bubbles(Bubbles)C7a Marital Status(Dense Lookup) , Vary Color By C7a Marital Status(Dense Lookup), Excluded46 Avg Order Process Time.
viii)Here we see the graph view ,ClickEdit graph properties
ix)After click on edit graph properties ,Graph Properties window will display, In General tab we set the properties like Canvas Width350, Canvas Height220, Legend LocationTop from drop down list.
ClickOk.
x)Now, ClickStyle tab and set all properties. Click on Style and Conditional Formatting.
Click to add Custom Formatted Position. ClickColor drop -down list.
After click on color drop-down list.
xi)Now, ClickScale tab and set properties Axis limitsSpecify ,Minimum20, Maximum70, Tick typeSpecify, CheckShow Major Ticks6, CheckShow Minor Ticks1.
ClickOk.
xii)After ClickOk, we see the vertical axis label as 10px.
ClickOk.
xiv)ClickEdit View on title. Here we set title and subtitle.
After set all properties ClickDone. xv)After ClickDone ,We see the result.
Now Click on save button ,the save as window will display to save the report.
ClickOk
Creating Pivot “Converted Revenue”
i)Click on NewAnalysis then chose subject area from Select Subject Area pane .Here , Subject AreaSample Sales.
ii) Select tables column from left side Subject Area pane within Criteria.
iii)ClickEdit Formula on Counts(31 # of Orders(Cnt Distinct))
iv)After click on edit formula the edit column formula window will display. CheckColumn Headings and Change column Heading from 31 # of Orders (Cnt Distinct) to # of Orders , Aggregation RuleDefault.
v) ClickEdit Formula on Fx conversion(70 Average FX Rate to Pref Currency)
vi)After click on edit formula the edit column formula window will display. Here we CheckCustom Headings change Column Heading70 Average FX Rate to Pref Currency to Average FX Rate , Aggregation
RuleDefault(None) .
ClickOk.
viii)The column properties window will display SelectData Format tab ,In this tab set all properties
CheckOverride Default Data Format, Treat Number asNumber from drop down list , Negative FormatMinus -123 from drop down list ,Decimal Places3, CheckUse 1000’s Separator.
ClickOk.
x) Edit Column Formula window will display CheckCustom Heading, Change Column Heading 120 Converted Rev (Index Col), Aggregation RuleDefault(Sum).
ClickOk.
xi)ClickColumn Properties on FX conversion( Converted Rev)Column Properties
xii)The Column Properties window will display , In Style tab ClickColor drop down list. Color Selector window will display here we chose a color.
ClickOk.
xiv)Now, ClickData Format tab and set the properties , Check Override Default Data Format, Treat Number asNumber from drop down list , Negative FormatMinus -123 from drop down list ,Decimal Places2, CheckUse 1000’s Separator.
ClickOk.
xv)After set all properties of columns we see the criteria. Now ,ClickResulr tab.
xvii)ClickEdit View on table. The edit view window will display. Here we set the properties.
xix)Click Summation in columns and Measures and SelectAfter.
xx) In summation after SelectAfter option then we see grand total in table result and check sign in summation .
After set all properties ClickDone to save the properties. xxi) Now we see the result.
xxii)ClickEdit View on title. Write TitleConverted Revenue on title box , Started TimeDisplay date and time.
ClickDone to save the properties.’
xxiii)After click done we see the result as below.
ClickOk
Creating “Dashboard Annotation”
Step 8):- Now, we create the second report of Product Details dashboard called as Dashboard Annotation. i)Click on NewAnalysis then chose subject area from Select Subject Area pane .Here , Subject AreaSample Sales.
ii) Select tables column from left side Subject Area pane within Criteria.
iv)The New Filter window will display .OperatorIs equal to / Is in , ValueAnnotations from drop down list.
ClickOk.
v)We see the filter in criteria.
vii)ClickNew ViewOther ViewsNarrative
viii)After Select Narrative we see it in below image .
ix)Now delete table and ClickEdit view on narrative.
xi)Set all the properties.
After set all properties and ClickDone.
xiii)After click edit view ,the edit view window will display here we set TitleDashboard Annotation ,Started TimeDisplay date and time.
After set all properties ClickDone. xiv)Now, the result is shown as below.
xv) Click Format Container on narrative. Horizontal AxisLeft .
ClickOk.
xvii) Now Click on save button ,the save as window will display to save the report.
ClickOk
Step 9):-Now we create a dashboard, Previously we created a dashboard called Simple Dashboard within Practice Dashboard folder. Now we create a new page in practice dashboard called as Brand Analysis.
ii) Click and SelectEdit Dashboard.
then ClickOk.
iv) Here we see the Product Details tab. Here we also see the Dashboard Objects .
vi) Drag and Drop reports from shared folders left pane to right pane. Here we see all reports which we created above related to this dashboard. Here we also created on Action Link .
vii)Go to dashboard Annotation and ClickEdit Analysis and SelectRename.
viii)The rename window will display, here we set the name as See Dashboard Commentary, CheckUse Dashboard Object name as link text.
ClickOk.
ix)Now ClickAction Link properties tab.
xi)After Click on Select Action option ,the Select Action window will display and here we select Annotate action.
ClickOk.
xii) After ClickOk. The Edit Parameter Mapping – Annotate window will display.
ClickOk
xiii) Now, ClickProperty tab of See dashboard Commentaries and SelectDisplay ResultsLink - In a Separate Window.
xiv)In Target Completion ChartEdit AnalysisShow ViewGraph1.
xvi) In Converted Revenue(Title 1)Edit Analysis and SelectShow ViewTitle 1.