Introduction to Embedded BI with Kyubit
This video demonstrates how to
embed BI interactive OLAP/SQL/CSV analytics and data visualizations in any website or application.
Suppose that you have any kind of HTML page with a list of your products and a place where you would like your users to analyze data from your OLAP, SQL, or CSV data sources.
It only takes adding a required javascript and CSS files and writting a few simple lines of code for embedded BI magic to appear on your page.
Any analysis, query, or dashboard created in Kyubit BI will be rendered on your page with
embedded analytics interactive ability to
drill down your data, drill by any available dimension in your cube, change chart type, drill through the data, and many more.
Users will also be able to enlarge presented embedded visualization, export embedded analytics to Excel file or continue analysis with full analytic features inside the Kyubit Business Intelligence app.
Same way created
KPIs and Gauge visualization could be included into your page to show metrics and the success of your business goals.
Add the ability for your users to explore and discover OLAP data structures on your page within minutes.
Embedded BI Basics (HTML/Javascript Integration)
Let's start from the beginning.
Open your Kyubit
BI application and create some simple analysis.
Choose your 'OLAP/Tabular' or 'Analytic Model' data source and drag-and-drop some dimension hierarchies to see some data related to your products.
Save your analysis and go to your HTML page where you would like to reuse the created analysis.
Add prerequisite embedded BI javascript files to your page and decide the location of the HTML element where you would like your visualization to appear.
Within Kyubit global configuration, set the URL to the Kyubit application that will be shared among multiple visualizations on your site.
Also, here are attributes that will set the general layout and behavior of integrated analysis on your site in general.
Finally, create a javascript function that will initiate embedded analytics integration as soon as your page loads and set parameters for embedded analytics you would like to show.
First,
embedded BI analytics is here, but now you will want to customize its appearance.
Set value labels to show on the chart. For all labels or only top values.
Add series to your analysis for more detailed visualizations and set the 'Column Chart' chart type to your
embedded analytics details parameters.
Any of these
embedded BI visualizations gives you the ability to drill your data to the point of interest using any dimension hierarchies from your OLAP cubes.
Change integration color pallets to best match your site layout colors or create new color pallets with specific colors you prefer.
To focus on specific data and show only part of your initial analysis, set specific categories and series you wish to show.
Choose the 'Pivot' option to switch categories and series values on your chart.
Set 'Refresh' time interval, after which data will be automatically refreshed with current values from a data source or set cache parameters that will hold integration data in the memory for a specific amount of time.
A more advanced
embedded BI scenario is that you would like to have analysis in the context of some data from your page.
For example, you would like to show an analysis for a given product from the page, you have selected.
When the user clicks on the 'Details' specific product, the analysis will be displayed.
First, create a certain analysis with dimensions you would like to see on your categories, series, and filters within the Kyubit BI app.
It will take a minute to prepare any kind of embedded analytics and save it to be reused.
Create a javascript function that will be called when used clicks on details, passing the product key as an argument.
Within this function, we shall call the integration function, but this time we will add a slicer parameter.
The integration function can have any number of slicer parameters that consist of slicer ID, which stands for dimension hierarchy we would use for slicing, and slicer value which is actual member unique value used for filtering.
Of course, we shall set the product key to create final slicer parameter values for data integration.
Now, we have integrated visual analysis in the context of the data the user has previously selected.
After the user selects details for any product, he is able to see
embedded analytics data and interactively explore data on this page, export data to Excel or continue analysis in the Kyubit
BI platform.
Set a series of values to display the 'Trend' or 'Average' line on the chart.
Embedded BI Dashboards or OLAP/SQL/CSV Reports using IFRAME
It is also possible to integrate the whole dashboard created in the Kyubit
business intelligence platform using the IFRAME HTML element.
Set the URL of the IFRAME to point to the Kyubit application with parameters for the specific dashboard and some parameters that will hide unnecessary items in the toolbar.
Again, to show the dashboard in the context of a particular product, we will create a function that will pass the product key to set the appropriate URL for
dashboard visualizations.
We shall set the URL for the dashboard, but this time we will add a slicer value for the dashboard.
The slicer consists of the filter dimension hierarchy defined in the dashboard and the slicer member's unique value.
Ampersand is escaped with HTML equivalent.
Every time we click on 'Details' same dashboard is rendered, but every time with a different slicer value to show product-specific
dashboard visualization.
Using IFRAME elements, we can also
embed analytics reports to our web page based on OLAP/Tabular/SQL/Excel/CSV data.
OLAP/Tabular or self-service analytics reporting is specific as it shows expanded portions of
OLAP/Tabular or self-service analytics data, making a sort of analysis tree, that is intuitive to users exploring the data.
Drag-and-drop dimension hierarchies on the category and series axis, expand any of dimension members, and prepare all visual details
OLAP/Tabular or self-service analytics report could include 3D visualizations that could be part of the report embedded to your page.
Set value bars to visually indicate the impact of the values compared to totals.
Save the analysis and set the URL within the IFRAME element to point to the saved analysis and be rendered on your page.
Kyubit Business Intelligence provides simple and advanced
embedded analytics visualization for data analysis and features to integrate within your page within minutes.