Академический Документы
Профессиональный Документы
Культура Документы
Product
SAP Lumira
Level
Beginner
Focus
Data Visualisation
Author
Paul Hawking
Version 1
Acknowledgements
I would like to thank Sanjiv Basal (SAP) for his inspiration and support in creating this tutorial.
1 April 2015
SAP Lumira
SAP Lumira is a self-service data visualisation solution that allows analysts and decision makers to
access, transform, and visualize data. The SAP Lumira desktop is used to prepare data from multiple
sources, visualize it, and then compose stories from those visualizations that can be shared with other
decision makers.
Data Set
The data set was sourced from the New South Wales Governments Bureau of Crime Statistics and
Research. The dataset is a subset of data that contains records of the different criminal offences in
different location in the state for the years 2012 and 2013. The full data set is available at
http://www.bocsar.nsw.gov.au/
1. Choose Start Programs SAP Business Intelligence SAP Lumira SAP Lumira.
Notice that the screen displays a workflow of the functionality available in SAP Lumira. The first step
of the workflow is to Acquire Data.
2 April 2015
The first step in visualising data using SAP Lumira is to is import the data. You create a document which
acts as a container for data and visualizations. You identify a data source and then connect to it and
copy the data from the source to the document. The resulting dataset is the basis of your visualisations.
You can extend a dataset by merging or appending it with other compatible datasets. One document
can contain multiple datasets
A dialog screen is displayed which identifies various Data Sources which data can be acquired form.
A number of the Data Sources are not available with the personal edition of SAP Lumira.
For the purpose of this tutorial you will be using data from a Microsoft Excel Data Source.
3 April 2015
3. Click to display the Open dialog screen.
The tutorial is based on the Crime data.xlsx Data Source. Your workshop leader will
provide the location details of this file.
This screen displays some metadata about the selected file including, Name, Location, and structure.
Through this screen you can modify the dataset to be analysed by de-selecting columns. The dataset
includes the month in which the crime occurred (Date), where the crime occurred (Location), the crime
category (Offence), additional crime details (Subcategory), and the number of this type of crime
occurred in the location for that month (Incidents).
6. Click Show record count to display the number of records to be acquired. 101807
records
7. Click to acquire and load the data from the Data Source.
4 April 2015
The SAP Lumira Visualize screen appears
Chart Picker This panel enables a user to select the type of chart to use in the
visualisation.
5 April 2015
Shelves This panel contains shelves where to drag a facet (Measure,
Dimensions) to update the Chart Canvas automatically.
Visualisation Gallery This panel is used to create new visualisations and to select
between visualizations in a story
Notice that SAP Lumira has already analysed the semantics of the data and has determined the
Measures to be analysed and the Dimensions which are going to be used as a basis of analysis.
SAP Lumira has also detected Dates , Geo-locations , Text and Numbers in the dataset.
6 April 2015
Before the dataset can be visualised you need to enrich the dataset using the functionality contained
in SAP Lumira. The tool enables you to edit and clean the data, create calculations, convert data to
another data type, create geography and time hierarchies, and add or merge another dataset. To
access this functionality:
8. Click .
You have decided to create a time hierarchy. A hierarchy enables you to quickly navigate realted
data. An example of a hierarchy would be
7 April 2015
10. Click the Date Dimension Options icon to display the Context Menu.
Notice that the screen now displays various Date options which have been created to assist with the
analysis of the dataset.
SAP Lumira has automatically created a Time Hierarchy based on Year, Quarter, Month and Day.
Now you can analyse the dataset.
8 April 2015
Notice that the new Time Hierarchy now appears in the Dimension list.
9 April 2015
SAP Lumira enables you to add graphical descriptions of your data with charts and tables from the
palette of charts. The visualisations can be used to plot meaningful relationships and to show data
trends. Visualisations can be combined to create stories with boards, infographics, and reports. Input
controls can be used to filter data, text, shapes, and images to describe your data on the presentation
dashboards.
Requirement 1
The first requirement is to create a bar chart to display the total crimes per year.
You create a visualisation by adding the Measures and Dimensions to either the Shelves or the
Chart Canvas.
13. Click next to the X Axis in the Shelves panel to display the available facets.
As you are using a bar chart visualisation measures (Incidents) are used on the X Axis.
14. Click Incidents to select this Measure and add it to the bar chart.
Notice that the bar chart in the Chart canvas is updated automatically.
Again notice that the bar chart in the Chart canvas is updated automatically. You will notice that
there is not much difference in the number of crime incidents between 2012 and 2013. You can a
more accurate indication by moving your mouse over each bar.
10 April 2015
Requirement 2
You want to drill down and view the total crime incidents for each Quarter in each Year.
As you previously created a Time Hierarchy you can use this hierarchy to drill-down through your
dataset.
18. Click Quarter to select this time component and update the bar chart.
Notice that the facet changes in the Shelve to indicate the new criteria
It appears that most crime offences occur in Quarters 1 and 4 of each year. This requires further
investigation.
11 April 2015
Requirement 3
You want to drill down and view the total crime incidents for each month in the highest each
Quarters in each Year.
Rather than edit your current bar chart you will create a duplicate bar chart to apply the filter to.
You will notice that a context menu appears with a number of options. Although is one of the
options, the requirement is to create a filter based on a number of quarters. To achieve this you
select the other quarters using the <CTRL> click technique
22. <CRTL> Click Quarter 2 2012, Quarter 1 2013, Quarter 2 2013 bars to select them.
12 April 2015
Notice that the new Filter appears at the top of the Chart Canvas. You can remove a filter at any
time by clicking of the corresponding filter.
You now want to view the crime data for each Month in the selected Quarters.
The crime data is now displayed for each Month in the selected Quarters. The way the data is
displayed makes it hard to determine the differentiation between different Months. You can re-
arrange the data on the chart based on a ranking (highest to lowest).
You will notice that January 2013 had the highest crime incidents in NSW. But what crimes were
committed?
29. Click January 2013 bar to select it and display the context menu.
Notice that the new Filter appears at the top of the Chart Canvas. You now need to include the
Offence category dimension in your chart.
13 April 2015
Notice that the chart is now updated.
Obviously highest crime incidents are associated with Theft. However there are many different types
of Theft. Further investigation is needed.
32. Click Theft bar to select it and display the context menu.
34. Click next to the Y Axis in the Shelves panel to display the available facets
The chart is update automatically. However it would be easier to make comparisons if the bars were
labelled. This can be achieved by removing the Month from Y Axis as it already exists in the Filter.
14 April 2015
The chart indicates that Fraud is the major Theft crime. However is an anomaly for the selected Time
period?
What were the major difference in crime incidents trends for January compared to the total
time period? .
40. Type My first SAP Lumira tutorial in the Description: text box
15 April 2015
Requirement 4
You want to view the total crime incidents related to liquor for different time periods and
locations.
16 April 2015
SAP Lumiras Chart Picker panel enables you to easily visualise your data using a range of formats.
You want to view Liquor offences over a time period to identify any trends.
The chart changes to a line chart. However because there are only two data points it is not very
informative.
The chart is much more informative with more data points displayed.
Which Months have the highest liquor related total crime incidents and why?
17 April 2015
Now it is time to determine if there is a relationship between Liquor offences and Location.
50. Click of the current chart in the Visualisation Gallery to display a context menu.
Your chart contains a lot of non-relevant data (non-data ink) which makes hard to interpret.
It still difficult to interpret the data but it does appear that certain locations have spikes in Liquor
related offences. Maybe looking at the top 5 locations in terms of Liquor related offences may provide
some insight to trends.
18 April 2015
Your chart appears similar to below:
Are there any locations which different Liquor related offence trends over time? Any
suggestions why?
58. Click of the current chart in the Visualisation Gallery to display a context menu.
19 April 2015
It is apparent that a significant number of Liquor related offences occurred in November 2012/2013.
A google search might provide the context information to explain this. It would be expected that due
to alcohol there would be associated criminal offences especially drug offences at such an event.
The chart is currently too busy to interpret. Adding a Ranking may help.
The chart does not appear to show a relationship between Liquor offences and other offences.
However the volume of Drug offences distorts the scale. If this type of offence was excluded it might
improve the visualisation and show some relationships.
20 April 2015
Are there any other offences related to Liquor offences over time?
There appears to be a relationship between Liquor offences and Disorderly conduct offences. To
highlight this you need to exclude the other Offence categories. This achieved through using a Filter.
It is easier to create a new Offence category filter than edit the existing one.
72. Create a new Offence category filter including Liquor offences and Disorderly conduct
offences.
Note: If the Offence category appears with strike through then Click and select Include.
21 April 2015
Your chart shows a relationship between the 2 types of offences at Byron over the time period.
22 April 2015
At the moment you have created a number of visualisations which focus on different aspects of crime
statistics in NSW. Although these visualisations can be viewed in the Visualisation Gallery it maybe
more informative if some visualisations were viewed together on one page. The Compose Room
provides this functionality. The Compose Room enables a user to create a story about the dat. A
story is a presentation-style document that uses visualizations, text blocks, pictures, graphics, and
input controls to describe data. A story can include multiple pages, and each page can have its own
layouta board, infographic, or report.
You have decided to create a story about the Liquor related offences and their impact on Byron using
some of the visualisations you have created.
Requirement 5
You want to view the total crime incidents related to liquor for different time periods and
locations on one page to convey a particular story.
A dialog screen appears enabling you to select the story format you require.
75. Type Byron Liquor Offences to replace New Story as the title of your story.
You have decided to use the Blank Board format for your story.
76. Click .
23 April 2015
Notice that the previously prepared visualisations appear on the left of the screen.
You now need to insert your first chart to the story board.
If a chart is updated in the Visualize room then it will automatically be updated in the story.
79. Drag Top 5 Incidents on Location . chart to below the previous chart.
24 April 2015
Although you understand the story the visualisations is trying to convey, others may not be able to
gain the same understanding without annotations.
82. Type Liquor related offences in NSW for each month in 2012/2013. There are spikes in
offences in December of each year.
84. Insert the following text above the next Incidents by location chart and resize the text box-
The top 5 locations for Liquor related offences indicates that Byron has a spike in offences in
November of each year. This corresponds with the influx of approximately 10,000 school
leavers for their end of school celebrations
You now need to add another chart to the story which indicates the implications of the Liquor related
offences in Byron. You could add the chart to the existing page but it will make it difficult to interpret
the existing information. You need to add another page to your story.
85. Click
The Page Type dialog screen appears. Instead of adding the final Byron chart you are going to add
an interactive report.
87. Click
88. Drag Incidents by Offence category and Month chart you created in Test Your Skills
exercise to the story board.
You are now going to insert an interactive Input Control to your story. You will be able to select
values in the Input Control and it will update the associated chart.
25 April 2015
89. Click to select it.
You will notice above these controls the various Dimensions are displayed.
Again you need to add an annotation to your story board to highlight insights.
92. Insert the following text above the chart - There is a relationship between Liquor offences
and Disorderly conduct offences
93. Update your chart only to display Liquor offences and Disorderly conduct offences.
Test Your Skills and create an Infographic which contains some of your visualisations. Try
adding some graphics to enhance your story.
26 April 2015
You have created a number of visualisations and an associated story. SAP Lumira provides a range
of functionality to share these with colleagues. To share your content with others:
Many of these options require solutions to be installed and/or you having an account. In a later
tutorial you will share your story to SAP Lumira Cloud.
You have now completed the tutorial on SAP Lumira. This tutorial was designed to provide an
introduction to this data visualisation tool and provide the fundamental skills to visualisations.
Resources
There are many resources available on the internet that can further enhance your skills. A good place
to start is at the SAP Community Network.
27 April 2015