At KScope 2015 I did a session on using Smart View with OBIEE and I though it would be good to share the bulk of the content.
The following is based on the session ‘Smart View with OBIEE’ presented at KScope 2105.
http://kscope15.com/component/seminar/seminarslist#Smart%20View%20with%20OBIEE
For this document it is assumed that the reader has a basic understanding of Smart View and how to connect to Oracle Business Intelligence using Smart View. For help with Smart View visit the following page.
http://docs.oracle.com/cd/E63606_01/index.htm
Smart View connected to Oracle Business Intelligence is a powerful combination of access to data while working with familiar tools (Microsoft Office). For this session we will focus on some key use cases learning how and when to leverage each of the following for success:
Presentation of Data and Visualizations
Data and Visualizations in Documents
Template Reporting with Excel
Let’s explore each use case!
Presentation of Data and Visualizations
The key tool we all use for presentations is PowerPoint and in the past when we wanted to present our enterprise data we would spend a bunch of time copying and pasting the data or ‘snapping’ screenshots to add the much desired data and visualizations to our presentations. Now we can leverage Smart View to create a live link to our enterprise data in Oracle Business Intelligence. With this live link we can refresh data making sure we are always viewing one version of the truth and we can leverage the visualizations we already have in our Oracle Business Intelligence dashboards and reports. Here is an example of a live presentation:
Note that in the presentation you are looking at live, refreshed data. Also based on the views and options selected these are native office charts and tables. The presentation was build based on visualizations and data in existing reports and dashboards. Here are the steps:
Open a connection to the Oracle Business Intelligence server where the visualizations and data exist. In this example we used ‘Private Connections’ and selected the OBIEE connection we already had setup.
Browse to the view you want to insert. For dashboard pages you can import all views and for reports you can select the view you want to import specifically. Notice the various view options that appear in the panel when you select an object. All actions are also available via a right click.
Insert the view. Locate the view in the Smart View Panel, right click and select ‘Insert’. Notice the visualization will be added as a native chart or table depending on the view selected. Each view will have other options like ‘Insert as Image’ or ‘Insert as Pivot Table’ depending on the view type.
Edit the view options and formatting. Each view has a set of properties that you can access from the ‘Document Contents’ panel and when refreshing view you have a few options. In this case we are going to leave the default of ‘Refresh Data’ this way we can modify the native chart and just refresh the data later. Other options like ‘Replace View’ and ‘Do Not Refresh’ are also available. At this point we can use standard Microsoft Office tools to edit the view (a chart in this case).
Save the presentation and repeat for other visualizations or data.
At any time this presentation can be refreshed and furthermore it is portable. Meaning all the necessary metadata is stored securely in the document so we can email or share this document like we would any other PowerPoint presentation. If another user opens it they will be prompted for their login as long as they have Smart View installed, if not they will see all the content but it is not refreshable. You can ship the presentation ‘as is’ or you can ‘Mask’ the data and the user is forced to refresh the presentation to see the data. This is a great security feature that allows us to share presentations with enterprise data knowing it will not cause any unnecessary information leakage. Use the Smart View ribbons to see the key features available in PowerPoint. Note that this is available in all Office tools (like Word and Excel) that support consuming Oracle Business Intelligence data with Smart View.
Data and Visualizations in Documents
Like PowerPoint data and visualizations from Oracle Business Intelligence can inserted in formal documents, whitepapers, or anything you can create with Microsoft Word. For instance, imagine you wanted create a whitepaper with data about a seasonal trend you are seeing in your business, this is easy with Smart View, and you follow about the same steps as the last section.
Open a connection to the Oracle Business Intelligence server where the visualizations and data exist. In this example we used ‘Private Connections’ and selected the OBIEE connection we already had setup.
Browse to the view you want to insert. For dashboard pages you can import all views and for reports you can select the view you want to import specifically. Notice the various view options that appear in the panel when you select an object. All actions are also available via a right click. Also note that the view will be inserted at the current position of the cursor in the document.
Insert the view. Locate the view in the Smart View Panel, right click and select ‘Insert’. Notice the visualization will be added as a native chart or table depending on the view selected. Each view will have other options like ‘Insert as Image’ or ‘Insert as Pivot Table’ depending on the view type.
Edit the view options and formatting. Each view has a set of properties that you can access from the ‘Document Contents’ panel and when refreshing view you have a few options. In this case we are going to leave the default of ‘Refresh Data’ this way we can modify the native chart and just refresh the data later. Other options like ‘Replace View’ and ‘Do Not Refresh’ are also available. At this point we can use standard Microsoft Office tools to edit the view (a chart in this case).
Save the document and repeat for other visualizations or data.
Below is an example of the finished document along with a formatted table.
Like PowerPoint or any Smart View enabled document this can be refreshed and it is portable. Updating and sharing documents with live data has never been easier!
Microsoft Excel is a powerful data analysis tool and you can leverage Smart View connected to enterprise data in Oracle Business Intelligence to enhance the analysis experience. For those familiar with other Smart View providers, like Essbase, please do not confuse this with Ad hoc Analysis. When connected to Oracle Business Intelligence the main driver for analysis are reports and dashboards that already exist. You can create new OBI analysis right in Excel but this much more structured than traditional ad hoc analysis. Here are the key analysis concepts.
When importing data you can import it in a few different table options that are likely familiar. Oracle Business Intelligence table objects can be imported as a standard table, an Excel table, or as an Excel pivot table.
Standard tables are the default option and this simply fills the cells (starting at the selected cell) with the data as it is laid out on the Oracle Business Intelligence object. In this case transferable formatting is converted to native Excel formatting. This is supported for both Oracle Business Intelligence tables and pivots.
To do this browse the catalog in the Smart View panel for the report object to be imported then right click or select from the action menu ‘Insert’. This will insert the table starting in the selected cell.
Excel Tables work like standard table except they are automatically defined as an excel table object allowing for simple formatting, sorting, and more. To do this browse the catalog in the Smart View panel for the report object to be imported then right click or select from the action menu ‘Insert as Excel Table’.
The Excel Pivot Table option will import the data and convert it to an Excel pivot table. This is useful for large tables with lots of dimensions. This option only applies to Oracle Business Intelligence pivots.
To do this browse the catalog in the Smart View panel for the report object to be imported then right click or select from the action menu ‘Insert as Excel Pivot Table’
Though not interactive the ability to import existing charts form Oracle Business Intelligence reports can be just a powerful as it is in the previous use cases for Microsoft Word and PowerPoint.
To do this browse the catalog in the Smart View panel for the chart object to be imported then right click or select from the action menu ‘Insert’. Optionally you can also import it as an image. This is useful if you want an exact representation of the chart.
New Analysis using the View Designer
Another option is to browse the Oracle Business Intelligence subject areas and create a new analysis from scratch. To do this right-click the Catalog Root node in the catalog tree, and then select ‘Create New View’. Also from the Oracle BI EE ribbon, click the ‘View Designer' button.
You must already be connected to a view in the catalog tree to enable the Oracle BI EE ribbon.
Once the view designer is open, in the left pane, expand a subject area and the folders to view the columns that you want to work with. Drag columns from the expanded subject area tree and drop them in the layout area. The edges in the layout area vary depending on the selections that you made in the View Type. There are number of other design options and view creation can be complex. For more details visit the Smart View help for the View Designer.
http://docs.oracle.com/cd/E63606_01/epm.11125/smart_view_user/frameset.htm?view_designer_layout.html
Template Reporting with Excel
Leveraging Microsoft Excel tools and formulas along with the ability to refresh enterprise data from Oracle Business Intelligence in a simple table format as described above allows for creative template based reporting.
The key to this is to have a ‘Data’ sheet where a live refreshable link has been created to an Oracle Business Intelligence report object. This is described in the section above and can be achieved with the following steps.
Browse the catalog in the Smart View panel for the report object to be imported then right click or select from the action menu ‘Insert’.
This will insert the table starting in the selected cell. Rename this tab to something creative like ‘Data’. This is your live data link.
Now insert another sheet and use Microsoft Excel functionality to create a formatted report. You can refresh the data in this highly formatted report without impacting the formatting or having to redo any data entry. At this point it is all about Microsoft Excel functionality. Use features like formulas, conditional formatting, and charts, to enhance the enterprise data you are sourcing from Oracle Business Intelligence.
This topic is a bit controversial because you can hit some real performance limitations depending on the data volume you are attempting to extract. Basically be realistic, if you are trying to export 100’s of thousands of rows you will hit some physical limitations and likely be disappointed. Most databases have tools that should be used for large data extracts and Oracle Smart View connecting to Oracle Business Intelligence is not one of them. With that there are many use cases for data extracts that makes sense using Smart View but here are some things to consider:
Data Volume – As stated above big volumes can take a long time, anything over 100,000 rows starts to get cumbersome and should be avoided. This will depend on many factors; like client memory, server query performance, formatting on the table object, and more; therefore there is no exact number as a physical limit. In short be smart!
Why Data Dump – When extracting data consider ‘why’ there is a need to dump the data into Excel. Maybe this is about self-service BI; maybe IT and business are not working together. This sort of need often points to an issue in the current reports or dashboards available and solving that should, at least, be explored.
Once all this is out of the way and you are ready to do a data extract, it can be accomplished with the following steps:
Select or create a table object in Oracle Business Intelligence that meets the needs for the extract. Keep it simple and limit formatting and special conditions as much as possible.
Browse the catalog in the Smart View panel for the report object mentioned above then right click or select from the action menu ‘Insert’
This will insert the table starting in the selected cell. What you do with this data is up to you.
As you can tell by now, Smart View connected to Oracle Business Intelligence is a powerful combination of access to data while working with familiar tools (Microsoft Office). Just try to keep a few things in mind before using Smart View with Oracle Business Intelligence or unleashing it on to your end users.
Understand the Use Cases – The key to success is making sure the right tool is used to solve the right use case.
Respect Data Volumes – Office is great but large data volumes can cripple a local workstation.