01 Introduction To SAP HANA - Data Visualization
01 Introduction To SAP HANA - Data Visualization
Authors
Marwin Shraideh
Raul Fernandez Alvarez
Last Update
31 December 2019
Process Overview
Learning Objective Get to know SAP HANA WebIDE and its analysis tab Time 20 min
by visualizing a dataset
Employees involved Sarah Garcia (Business Analyst)
It is your first day at work for Global Bike Inc. Your supervisor wants you to explore the analysis
features of SAP HANA XSA. He tells you something about calculation views, tables and that the
necessary data is already available. For accessing the data and the tools of SAP HANA, he also
provides you with access information for the SAP HANA WebIDE, that you just got to know.
Without leaving you some time to ask questions, your supervisor places a piece of paper on your
desk and leaves the room by saying: “I want to have the numbers by the end of the day!”. The
sheet of paper lists the following:
• Pie Chart: Revenue for each company.
• Pie Chart: 2011’s top five US companies that generated most revenue.
• Bar Chart: Yearly generated revenue of top-five US firms
• Send Screenshot of bar chart (png) via mail to me
After completing this case study, you will be able to navigate through the Database Explorer and
analyze data within the SAP HANA WebIDE.
Table of Contents
Process Overview .................................................................................................................. 2
Task 1 – Log-In & Display the GBI DEMO Sales Data ....................................................... 4
Task 2 – Display 2011 U.S. Customer Revenues in a Pie Chart........................................... 8
Task 3 – Compare U.S. Customer Annual Revenues Over Time ....................................... 11
Task 4 – Export your Visualization as PNG File ................................................................ 12
Figures
Switch to the Database Explorer by clicking on the tab on the left upper
corner of the WebIDE as highlighted in figure 2:
Select GBIDEMO… and leave the Name to Show in Display as it is, since
we will continue to refer to this HDI-Container as GBIDEMO-Container.
You should now be able to see the database as shown in figure 5.
As a second step, select Column Views and enter GBI_DEMO_
SALES_CUBE_CV in the search bar to find the calculation view you need to
access.
Task Use the integrated visualization tool of the WebIDE in the data Time 10 min
preview perspective to create a report displaying displays the 2011
U.S. customer revenues in a pie chart. For this purpose, you must
change the initial visualization so that it displays the revenues for the
top five customers in a pie chart, filtering for both country and year
Name (Position) Sarah Garcia ( Business Analyst )
First, drag and drop CUSTOMER_NAME into the Label Axis – Box.
Afterwards, drag and drop REVENUE into the Value Axis – Box.
Choose pie chart as diagram type in the chart builder area by clicking on the
arrow next to the pie chart symbol and selecting “Pie” as shown in figure 8.
Start playing around with the pie chart by hovering over or clicking on one or
more segments as well as customer names in the legend. Can you see that
hovering over a segment / a customer name will highlight the customer name
/ segment? Clicking on a segment / a customer will label it and show you the
exact revenue amount.
Task You almost finished all the tasks that your boss has left you with. Time 5 min
Since you do not know how the calculation view for the annual sum of
revenues from 2007 to 2011 is called, you ask a colleague. He
immediately provides you with the necessary information. He also
tells you: “Make sure that you use a line chart at all cost! Our boss
loves them. I am pretty sure that he will be surprised by your great
chart selection instinct.” Motivated by such a nice hint from your
colleague, you start working.
Name (Position) Sarah Garcia (Business Analyst)
Switch from the Raw Data Tab to the Analysis Tab, by clicking on
Analysis as shown in figure 11:
Figure 11: Switching to the analysis tab in the data preview of WebIDE
Afterwards, drag and drop Customer_Name into the Label Axis and Revenue
into the Value Axis.
Change the visualization to a bar chart by clicking the bar chart button
. Finally, add Year as additional dimension by dragging and dropping the
column into the field Label Axis. The resulting visualization is shown in task
4, figure 12.
Task Use the Export option to create a PNG file of your previously created Time 1 min
chart.
Name (Position) Sarah Garcia (Business Analyst)
Figure 12: Annual sum of revenues from 2007 to 2011 in a bar chart