Oracle Bi Solutions

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 19 January 2013

[OBIEE11g] - Show top-N Sales Persons in BI Publisher with Snowflake dimension

Posted on 23:09 by Unknown

This procedure shows how to achieve the top-N Sales Persons when dimensional data is present in a snowflake layout.
  1. First create a JDBC connection in the BI Publisher Administration section by going to the url: http://localhost:9704/xmlpserver/and login as “weblogic” user.
  2. Under the Administration section select “JDBC Connection” under the “Data Sources” sub-section.
  3. In the JDBC web page select “Add Data Source” button.
  4. In the “Add Data Source” screen enter the following:
  5. For the “Data Source Name” enter the name for the connection e.g: “XE”
  6. For the “Driver Type” select “Oracle 11g”
  7. For the “Database Driver Class” field leave the default “oracle.jdbc.OracleDriver”
  8. For the “Connection String” field enter the location and port of the Oracle Database where your BISAMPLE schema exists.
  9. For the “Username” field enter “BISAMPLE” and for the “Password” field enter “BISAMPLE”.
  10. Verify your entries with the below screenshot.
  11. To verify that the entries are correct, click the “Test Connection” button and make sure that “Connection established successfully” appears at the top of the screen.
  12. Click the “Apply” button to save your changes.
  13. Your entry will be present in the list as show below:
  14. In the “Administration” screen menu select New -> “Data Model”
  15. select “XE” for the “Default Data Source” field, this the JDBC connection we have created above.
  16. Click the Save icon on the top right corner and save it under the “Shared Folders” -> “11g Shared” -> “BI Reps” folder, enter “SalesRepModel” for the “Name” field.
  17. Click the “Save” button.
  18. Click the “Data Sets” option under the “Data Model” panel on the left side.
  19. Under the “Diagram” tab select “SQL Query” as show in below screen shot:
  20. Click the “Query Builder” button on the “Create Data Set – SQL” screen.
  21. In the “Query Builder” Window select the three tables on the left pane i.e. “SAMP_EMPL_D_VH” , “SAMP_EMPL_PARENT_CHILD_MAP” and “SAMP_REVENUE_F” tables.
  22. Create the foreign key links between the tables.
  23. Click on the Right White Square next to the “EMPLOYEE_KEY” in the first table then click on the Right White Square next to the “MEMBER_KEY”.
  24. Click on the Right White Square next to the “ANCESTOR_KEY” in the second table and then on the Right White Square next to the “EMPL_KEY” in the third table.
  25. Now select the columns from the tables that we would require to display in our reports and which are required to generate our SQL query which constitutes the Data Source.
  26. Check the “EMPL_NAME” checkbox in the first table, the “MEMBER_KEY” checkbox in the second table and the “REVENUE” checkbox in the third table.
  27. Click on the “Conditions” link.
  28. In the “Conditions” Screen, de-select the “MEMBER_KEY” checkbox under the “Show” column.
  29. For the “REVENUE” row select the “SUM” under the “Function” column.
  30. Click the “Save” button
  31. In the “Create Data Set – SQL” Screen enter “topNSQL” for the “Name” field.
  32. Update the “SQL Query” section with the “DISTINCT” Function so the query is as show in below screen shot.
  33. Click on the “OK” button to close the window.
  34. Save the Model by clicking on the “Save” icon and Enter “SalesRepModel” for the “Name” field.
  35. Now click the xml icon  to run the query.
  36. In the “SalesRepModel” screen select “All” for the “Number of rows to return” then click the “Run” button.
  37. The select the options “Save As Sample Data” option.
  38. In the “Diagram” screen select the “New” -> “Report” option as shown in below screenshot.
  39. In the “Create Report – ” window select the “SalesRepModel” then click the “Next” button.
  40. On the next screen select “Use Report Editor” and click on the “Finish” button.
  41. Enter “SalesRepReport” in the “Save As” window and click the “Save” button.
  42. In the Report Editor as show below select the “Data Table” icon.
  43. Drag the “EMPL_NAME” and the “REVENUE” columns from under the “DATA_DS” -> “G_1″ folder on the left pane to the “Data Table” as show below.
  44. Select the Data rows under the “REVENUE” column and select the “Descending Order” icon as shown in below screenshot.
  45. Click the “Save” icon and enter “SalesRepLayout” for the “Layout Name:” field and click the “Save” button.
  46. Select the data rows under the “REVENUE” column and select the ($1,234.57) format under the “Data Formatting” from tool bar.
  47. Select the “Interactive Preview” icon to view your report. 
Summary:
As you can observe that achieving the type of report is mainly dependent on how your query is constructed for your data source.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in OBIEE | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Upper Function
    In Oracle/PLSQL, the  upper function  converts all letters in the specified string to uppercase. If there are characters in the string that ...
  • [OBIEE11g] - OBIEE Dashboard for Informatica Metadata Reporting
    The metadata that Informatica Power Center 8 retains in its repository can be exposed via OBIEE reports and dashboards. This metadata includ...
  • OBIEE 11g Hide/Show Sections based on Dashboard Prompt
    allow a user’s interaction to hide/show certain sections of a dashboard. In this particular case the user wanted to choose either ‘Quarterly...
  • OBIEE 11g not showing new dashboard in the drop down menu
    When creating New dashboard in  OBIEE 11g, I have faced with issue that dashboard name did not show up in drop down dashboard menu. 1. When ...
  • [ODI] - Frequently Asked Questions (FAQ)
    Here is a list of FAQs about Oracle Data Integrator 1) What is Oracle Data Integrator (ODI)? 2) What is E-LT? 3) What components make up Ora...
  • Data Modeling: Schema Generation Issue with ERwin Data Modeler 7.3
    We are using Computer Associate’s ERwin Data Modeler 7.3 for data modeling. In one of our engagements, we are pushing data model changes to ...
  • Installation Informatica Powercenter 9.1 on Oracle Enterprise Linux 5.6
    Ingredients: Program Version Filename Oracle Express 11G 11.2.0 oracle-xe-11.2.0-0.5.x86_64.rpm SQL Developer 3.0 sqldeveloper-3.0.04.34-1.n...
  • [OBIEE11g] - Creating Dashboard Traversing Through Graph
    The general requirement asked for by customers is that they want to Click on the Main Dashboard Page’s Graph and be transferred to the other...
  • [OBIEE11g] - Dashboard Prompt - "Prompt User"
    Oracle BI 11g which we hadn't seen before, the " Prompt User " operator on a dashboard prompt. I'm not sure exactly when t...
  • OBIEE 11g - Query Limit
    Query limit and number of minutes a query can run per physical layer database connection, follow the below steps. > Login to Repository u...

Categories

  • BI Publisher
  • DAC
  • DataWarehouse
  • Hyperion
  • Informatica
  • OBIEE
  • ODI
  • Oracle Applications EBS 12.1.3
  • Oracle Database
  • PL/SQL
  • SQL
  • Unix/Linux

Blog Archive

  • ▼  2013 (500)
    • ►  November (8)
    • ►  October (1)
    • ►  July (4)
    • ►  June (9)
    • ►  May (15)
    • ►  April (24)
    • ►  March (43)
    • ►  February (73)
    • ▼  January (323)
      • Uninstalling Obiee 11g instance on a linux red hat
      • OBIEE 11g not showing new dashboard in the drop d...
      • OBIEE11g Installation
      • Starting OBIEE 11g Services on Linux
      • OBIEE11g Timestamp differencess
      • DAC11g Installation on Windows Server 2008R2.
      • BI Apps 7.9.6.4 Installation in widows server 2008R2
      • [OBIEE11g] - Eventually succeeded, but encountered...
      • [OBIEE11g] - Blue Screen Error While Login With Bi...
      • [OBIEE11g] - No Log Found Error
      • [OBIEE11g] - Stream Closed Error when Click on cor...
      • OBIA 7.9.6.4 RPD And Catalog Shared
      • [OBIEE11g] - Destination Path too Long error while...
      • [OBIEE11G] - Lookup table is a new feature in obie...
      • [OBIEE11g] - Create Veriable in OBIEE11g.
      • [OBIEE11g] - Configuring LDAP Server to provide OB...
      • [OBIEE11g] - Authentication Failure in OBIEE 11g
      • [OBIEE11g] - Bing Map Integration with OBIEE 11g
      • [OBIEE11g] - OBIEE Dashboard for Informatica Metad...
      • Informatica PowerCenter Upgrading from Version 8.6...
      • Data Modeling: Schema Generation Issue with ERwin ...
      • [OBIEE11g] - DAC Reporting in OBIEE11g
      • [OBIEE11g] - Publisher 11g – Performance Monitorin...
      • [OBIEE11g] - Auto Start OBIEE 11g using Windows Se...
      • [OBIEE11g] - Upgrade OBIEE 11.1.1.5 To Latest Vers...
      • OBIEE11g - User Right Click Interaction Control w...
      • [OBIEE11g] - Customizing Prompts ‘All Column Value...
      • [OBIEE11g] - Choosing the Right OBIEE Visualization
      • OBIEE11g - 11.1.1.6 New Features
      • [OBIEE11g] - Certification with Siebel Marketing f...
      • [OBIEE11g] - Creating a Stacked Bar Chart.
      • [BI EE11g] – Managing Host Name Changes
      • [DAC] - Multi Source Loads With OBIA
      • [Informatica] - ERROR CODES: [CNX_53021 ],[DOM_100...
      • [Informatica] - Informatica PowerCenter Repository...
      • [Informatica] - Processing UNICODE Characters in I...
      • [Linux] - Unix/Linix Commands
      • [DAC] - Full Load Vs Incremental Load
      • [Informatica] - Installation of Informatica 9.0.1 ...
      • [Informatica] - SF_34004- Service initialization ...
      • [Oracle Database] - Linux OS and Oracle database S...
      • [Oracle Database] - Installion Oracle database11g ...
      • [Informatica] - RR_4053 : Row error occurred while...
      • [OBIEE11g] - Change the placement of currency name
      • [OBIEE11g] - Exception Occuring During OBIEE 11.1....
      • What is Indexing in a Database
      • [OBIEE11g] - Setting up OBIEE11g Admin Tool for OD...
      • [OBIEE11g] - Getting Top-N Sales Reps Using the TO...
      • [OBIEE11g] - Getting Top-N Sales Reps Using Result...
      • [OBIEE11g] - Getting Top-N Sales Reps for Year and...
      • [OBIEE11g] - Analyzing Sales for “N Years Top-10 S...
      • [OBIEE11g] - Drill Down to Sub Reports Passing Mul...
      • [OBIEE11g[ - Configuring BI Scheduler for iBots on...
      • [OBIEE 11g] - How Application Roles, Groups and Us...
      • [OBIEE11g] - Setting up Access Permissions to Repo...
      • [OBIEE11g] - Fixing Weblogic and bi_server1 startu...
      • [OBIEE11g] - Deleting and Re-Creating Users in We...
      • [OBIEE 11g] - Backup and Restore of OBIEE Filesyst...
      • [OBIEE11g] - Creating Effective Bar Graphs
      • [OBIEE] - Useful SQL statements in Business Intell...
      • [OBIEE11g] - Creating Dashboard Traversing Throug...
      • [OBIEE11g] - Database Connection Failure while cr...
      • [DAC] - Admin password recovery
      • [Oracle 11g] - Oracle Database 11g installation on...
      • [OBIEE11g] - Variables in Oracle OBIEE 11g
      • [OBIEE11g] - Installing OBIEE 11g on Linux Fedora 17
      • [OBIEE11g] - Table view Date Column controlled by...
      • [OBIEE11g] - Adding Tooltips and conditional colo...
      • [OBIEE11g] - Show top-N Sales Persons in BI Publi...
      • [OBIEE11g] - Creating Scrolling Ticker Views
      • [OBIEE11g] - Authentication first with LDAP then ...
      • [OBIEE11g] - Relocation of OBIEE MetaData Reposit...
      • [OBIEE11g] - Hierarchical Roll-Up and Individual T...
      • [OBIEE11g] - Creation of Sales Reps Hierarchy wit...
      • [OBIEE11g] - Using external table to Filter BI Ans...
      • [OBIEE11g] - Configuring of RPD deployed on Linux...
      • [OBIEE11g] - Configuring an ODBC DSN for the Oracl...
      • [ODI] - Frequently Asked Questions (FAQ)
      • [OBIA] - Oracle BI Applications - Frequently Asked...
      • [OBIEE 11g] - Maps - Frequently Asked Questions (FAQ)
      • [OBIEE11g] - The 11g Features You Maybe Didn't Know!
      • [OBIEE11g] - New Features with OBIEE 11.1.1.6
      • [OBIEE11g] - Dashboard Prompt - "Prompt User"
      • [OBIEE11g] - [46153] The configuration file (O:\us...
      • [Informatica] - Multiple Chart of Accounts Configu...
      • [OBIEE11g] - Customizing Pivot Table Error
      • [OBIEE11g] - How to get Month Start Date and Month...
      • [OBIEE11g] - How to get Week Start Date and Week E...
      • [OBIEE11g] - How to rename My Dashboard
      • Table Organization in OBAW (Oracle Business Analyt...
      • [OBIEE11g] Uninstall OBIEE 11g
      • [OBIEE11g] - Command Line Merging in OBIEE 10g/11g
      • BI Publisher report is showing incorrect date(Show...
      • [OBIEE11g] - Connectivity issue from OBIEE (in Sol...
      • [OBIEE 11g] - Installation on Red Hat Linux
      • [OBIEE11g] - Different ToolTip for different rows ...
      • [OBIEE11g] - Integrating OBIEE 11g with EPM worksp...
      • [DAC] Fail to create indices during DAC execution ...
      • [DAC] Oracle DAC issue in 64 Bit Machine
      • [OBIEE11g] Connection Pool Select Button is Disabl...
Powered by Blogger.

About Me

Unknown
View my complete profile