Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Latest commit

 

History

History
626 lines (315 loc) · 27.6 KB

File metadata and controls

626 lines (315 loc) · 27.6 KB

Exercise 1 - Creating Your First Story

Objective: Develop a basic understanding on how to create visualizations within SAP Analytics Cloud.

Estimated Time: 20 mins

Exercise Description: You want to visualize your company's performance over time, and find your first insights.

Key Features:

  • Understand how to use the Builder Panel
  • Create a variety of different charts to illustrate key relationships within your data

⚠️Disclaimer When completing exercises, some data values in the screenshots may not match what you see on your screen. This is because the dynamic time filters that were applied at the time the screenshots were taken is different from the current system date.


🚩As a business analyst for the BestRun company, we are interested in a business intelligence dashboard to utilize our finance and shipping data to guide business decision making. We can do this by creating a story.

  1. Click Create Your First Story

Image 1


ℹ️Welcome to Start Your Story Page!

On this page, users can choose to import their own data, run a smart discovery on their data, add a responsive, canvas, or grid page, or start their story using a template. We are interested in exploring our data and the dimensions and measures we can analyze before we create a dashboard.

  1. Click Responsive

image 2


🚩Let’s start by adding in some charts.

  1. Click Insert (Click More on the top toolbar if you don't see Insert)

image 3

  1. Click Chart

Image 4

ℹ️The data we will be using was already uploaded by a colleague in the Finance department. Let us access this model from the Public/TechEd folder in our tenant.

  1. Click Public

image 5

  1. Click TechEd 2021

image 6

  1. Click ANA260_ORDER_FINANCE

Image 7

ℹ️Welcome to the Builder Panel!

The Builder Panel is a place where you can create your visualizations. The chart area on your responsive page will remain empty until a measure and dimension are selected from the Builder Panel. It will dynamically update depending on the visualization that you are trying to create.

We have just added an empty chart to our story and now we want to start adding measures and dimensions to build our chart into a visualization for business insights!

  1. Click Add Measure

image 8

  1. Scroll untill you find Sales Revenue

  2. Click Sales Revenue

  3. Click Inside the Builder Panel to Collapse the Measure Selection Drop Menu

Image 9

  1. Click Add Dimension

Image 12

  1. Scroll untill you find Region

💡Within the Dimension Selection Menu, a hierarchy icon is displayed next to hierarchaldimensions. Dimensions with attributes can be further expanded within the menu.

  1. Click Region

  2. Click Inside the Builder Panel to Collapse the Measure Selection Drop Menu

Image 13_14_15

🚩We have now created our first bar chart using the Builder Panel.

  1. Resize the chart to be wider

Image 16

⚠️Quality Check! Does our story page look like the screenshot?

Quality check 1

  1. We can easily change the layout of our story page. Click and drag the Right Lane to the Top

Image 17

🚩Let's start adding in some additional charts. First, we are interested in the gross margin breakdown across our different products.

  1. Click Bottom Pane

  2. Click Insert (Click More on the top toolbar if you don't see Insert)

  3. Click Chart

Image 18_19_20

  1. Click Add Measure

Image 21

  1. Scroll to find Gross Margin

  2. Click Gross Margin

  3. Click Inside the Builder Panel to Collapse the Measure Selection Drop Down Menu

Image 22_23_24

  1. Click Add Dimension

Image 25

  1. Scroll to find Product

  2. Click Product

  3. Click Inside the Builder Panel to Collapse the Measure Selection Drop Down Menu

Image 26_27_28

🚩We have now created our second bar chart using the Builder Panel. However, our data can be further transformed to extract more valuable business insights. Let’s change the hierarchy level so we can see gross margin for different Product categories.

Image 28

🚩We can drill down on the Product dimension to get more information from our bar chart. You can also drill down on charts via the Builder Panel as a designer or by clicking on the bar and drilling down.

  1. Click Set Drill

  2. Click Level 2

Image 29

We can now see gross margin by each product category (Accessories, Clothing, Footwear), but we want to explore our data further and generate insights from the additional Workout Usage dimension in our model.

Image 30

  1. Under Color Click + Add Dimension/Measure

Image 31

  1. Scroll untill Workout Usage is Visible

  2. Click Workout Usage

  3. Click Inside the Builder Panel to Collapse the Measure Selection Drop Down Menu

Image 32_33_34

🚩Our bar chart is now divided in each product category by its Workout Usage. Using Color in charts is an effective way of mapping additional dimensions into a visualization. We can change our Chart Type to better visualize the dimensions we have selected.

Image 34

  1. Click Bar/Column Tile

  2. Click Stacked Bar/Column

Image 35_36

🚩We want to scale our chart so that the distribution of workout usage in each product category is easily comparable in percentages of the total.

  1. Click Show Chart as 100%

Image 37

  1. Resize the chart to be Wider

image 38

⚠️Quality Check! Does the Stacked Bar Chart in your story show up like this?

🚩Our chart visualization now displays for us the proportional distribution of gross margins in each Product Category based on their Workout Usage. This enables us to quickly analyze the contribution of the Workout Usage dimension within a Product Category

Quality check 2

🚩We now want to analyze how our gross margin has been performing over time. Let us build a chart with a time dimension to display this data.

  1. Click Insert (Click More on the top toolbar if you don't see Insert)

  2. Click Chart

Image 39_40

  1. Click + Add Measure

Image 41

  1. Scroll to find Gross Margin

  2. Click Gross Margin

  3. Click Inside the Builder Panel to Collapse the Measure Selection Drop Down Menu

Image 42_43_44

  1. Click Add Dimension

Image 45

  1. Scroll to find Order Date

  2. Click Order Date

  3. Click Inside the Builder Panel to Collapse the Measure Selection Drop Down Menu

Image 46_47_48

🚩SAP Analytics Cloud immediately recognized our time dimension and created an upright chart orientation as per best practices. However, our chart currently shows an aggregation of all gross margins in our data set. Next, we want to apply a dynamic time filter for the year to date range and change the drill level to show months as the granularity of bars.

Image 48

🚩We have many options on filtering or drilling down on a dimension simply by hovering over the dimension in builder panel.

  1. Click Filter

  2. Click Current

  3. Click Year under To Date

🚩SAP Analytics Cloud offers users the ability to choose from a variety of dynamic time filters to quickly customize their charts to their business needs. We are using a year to date filter on our chart, so our data is filtered to begin on the start of the year 2021 until today.

Image 49_50_51

🚩Let us Set Drill on our dimension. Currently our bar chart is aggregating data over all time, however we are more interested in seeing performance per month for the current year.

  1. Click Set Drill

🚩Our hierarchy levels correspond to levels of granularity. In SAP Analytics Cloud, we dynamically provide various levels of time granularity (i.e. YQM, YHQM, YM). Currently, this chart is set to a YQM hierarchy with the first level set to aggregate over all time, so we want to select level 4 to reach monthly granularity

  1. Click Level 4

image 52_53

🚩We have just created a chart with a time dimension using a Year to Date filter to organize our visualization. Next, we want to learn more about the trend of Gross Margin from our chart.

⚠️Please note your data will look different from this chart's values due to the dynamic date filter.

  1. Resize the chart to be wider

Image 54

🚩We can look at the trend of Gross Margin from our chart by adding a trendline by using the context menu.

  1. Right Click on the chart to open the Context Menu

  2. Click Add

  3. Click CGR (Compound Growth Rate)

1-replace

🚩We use the CGR added to the chart that compared to look at our compound growth rate in the year. If the CGR is negative it could be alarming information for the business user

Image 57

🚩Let us add a table to our story to examine our Gross Margin contribution by each Sales Manager. Since Sales Manager is a high cardinality dimension with a lot of members, it is recommended to view this data in a table.

  1. Click Insert (Click More on the top toolbar if you don't see Insert)

  2. Click Table

Image 58_59

  1. Under Rows Click + Add Measures/Dimensions

Image 60

  1. Scroll untill Product and Sales Manager is visible

  2. Click Product

  3. Click Sales Manager

  4. Click inside the Builder Panel to Collapse the Measure/ Dimension Selection Drop Down Menu

Image 61_62_63_64

🚩We can see that a table has been created to track Sales Managers. We can choose to expand the Product column to sort our table by Product Category contributions by each Manager. However, our table measure is currently set to Discount. Let’s change it to Gross Margin.

Image 64

  1. Return to the Builder Panel. Click Filter on Account Column

Image 65

  1. Deselect Discount

  2. Select Gross Margin

  3. Click OK

image 66_67_68

🚩We have created a table to show contributions of Sales Manager to Gross Margin; however, this value is an aggregate over the entire period spanning the model. We would like to breakdown on Order Date to better interpret the yearly contributions of each Sales Manager to Gross Margin

Image 68

  1. Under Columns Click + Add Measures/Dimensions

Image 69

  1. Scroll untill Order Date is Visible

  2. Click Order Date

  3. Click inside the Builder Panel to Collapse the Measure/ Dimension Selection Drop Down Menu

Image 70_71_72

⚠️Quality Check! Does your table have the Product, Sales Manager, and Gross Margins columns?

🚩There has been an Order Date field added to our table. If we expand on all, Gross Margin will be separated into yearly sums. We want to see our Gross Margin % in our table but we currently do not have that measure in our data model. We can create the Gross Margin % measure as a calculation with the Sales Revenue and Gross Margin measures

Quality Check 3

🚩We may be looking for more insights from our data and can do so by creating a calculation!

  1. Click the More Icon for Account

  2. Click Add Calculation

Image 73_74

ℹ️Welcome to the Calculation Editor!

The Calculation Editor allows you to create calculations for use in a chart or table. There are various types of calculations that a user can create which include:

  1. Calculated Measures: Perform a calculation on one or more measures

  2. Restricted Measures: Restrict the data from a measure so that it excludes certain members of one or more dimensions

  3. Difference From: Find the difference in a measure's value between two points in time for a single time dimension

  4. Aggregation: Create an aggregation such as sum, count, count dimensions, max, and max

  5. Date Difference: Calculate the difference between two-time dimensions

  6. Dimension to Measure: Create a measure by converting a dimension to measure.

We will cover calculations in more detail for business analytics use cases in our Section 8 - Calculations and Blending Deep Dive. You can jump off to this section to learn more.

Image 74

  1. Click Calculated Measure

Image 75

  1. Click the formula field and enter "gro"

  2. Click ["ANA260_ORDER_FINANCE": Gross_Margin]

Image 76_77

  1. Type in "/" to indicate we want to divide in our calculation

  2. Type in "Sal"

  3. Click ["ANA260_ORDER_FINANCE":Sales_Revenue]

Image 78_79_80

  1. Name the measure Gross Margin %

  2. Click OK

image 81_82

🚩Now let’s use our newly made calculation in our table and remove the previous measure.

  1. Click Filter on Account in Columns

1-rr

  1. Deselect Gross Margin

  2. Click OK

Image 84_85

🚩Now that we have our desired measure, let’s expand the Order Date column to see our values on a yearly basis.

  1. Click > (All) to Expand the Order Date Dimension

image 86

🚩We want to hide the all column that aggregates Gross Margin %.

  1. Right Click the All Order Date Column

  2. Click Hide Column

Image 87_88

🚩Our table should look like this screenshot now. Since our calculation is a percentage, we will now change the formatting of our values to improve our table visualization.

Image 88

🚩We can easily change the formatting and representation of our measures and calculations.

  1. Click Story Calculations

  2. Click Formatting

Image 89_90

  1. Deselect Use Unit of Underlying Measures

  2. Change Scale to Percentage

  3. Change Decimal places to 0

  4. Click OK

Image 91_92_93_94

⚠️Quality Check! Does our table look like this screenshot? We have now formatted our chart so the % symbols for gross margin are indicated in the subtitle. This cleans up the table visualization.

Quality Check 4

🚩Let us shift our focus back to our dashboard layout. We want to now add some KPIs that stand out for story viewers.

  1. Select Top Lane

Image 95

🚩Since this lane is in now at the top of our dashboard, let us add some easily viewable KPIs as numeric point charts in our story. Numeric point charts are a chart visualization that display the total of a measure and are best suited for highlighting key business KPIs. They can be filtered so the KPI describes a specific context relevant to the business user.

  1. Click Insert (Click More on the top toolbar if you don't see Insert)

  2. Select Chart

Image 96_97

  1. Click Indicator

  2. Click Numeric Point

Image 98_99

  1. Click Add Measure

Image 100

🚩Let us use Gross Margin as our first KPI.

  1. Scroll untill Gross Margin is visible

  2. Click Gross Margin

  3. Click Inside the Builder Panel to Collapse the Measure Selection Drop Down Menu

Image 101_102_103

🚩We should add a date filter on our KPI, so the context is more relevant to a business analyst looking for actionable insights. Let us filter data for the current year.

  1. Click Add Filters

image104

  1. Click Order Date (Member)

Image 105

  1. Click the Expand icon

  2. Click 2021

  3. Click OK

Image 106_107_108

🚩You have now created a numeric point chart that displays Gross Margin filtered for only data in 2021.

  1. Decrease the size of the Numeric Point Chart

Image 109

🚩Let us use SAP Analytics Cloud's duplicate chart functionality to easily create our other KPIs.

  1. Click the More icon

  2. Click Copy

  3. Click Duplicate

Image 110_111_112

⚠️Quality check! Has your dashboard updated with a copied KPI chart like this screenshot?

Quality Check 5

ℹ️We want to create a new KPI of Sales Revenue like our first chart of Gross Margins. Since we duplicated the KPI, our previously applied date filter will be automatically applied to our new KPI. Let us now change the measure of our second KPI.

  1. Deselect the Gross Margin measure for your new chart by clicking Remove

  2. Click Add Measure

Image 113_114

  1. Scroll until Sales Revenue is visible

  2. Click Sales Revenue

  3. Click Inside the Builder Panel to Collapse the Measure Selection Drop Down Menu

Image 115_116_117

🚩Now that we are satisfied with our second KPI for Sales Revenue, let us duplicate this chart again to create a KPI that calculates average sales revenue.

  1. Click the More icon

  2. Click Copy

  3. Click Duplicate

Image 118_119_120

🚩We currently do not have a measure for our average sales revenue by store in our model. Hence, let us create a calculation to track this metric on our dashboard.

  1. Remove Sales Revenue as a Measure (for the duplicate chart)

  2. Click Add Measure

Image 121_122

  1. Click Create Calculation in Add Measure

1-replace2

🚩We want to calculate the average sales revenue by store for our company. This will require an aggregation of all sales revenue averaged by number of stores. We can create this in the Aggregation Calculation Type.

  1. Select Aggregation as Calculation Type

Image 124

  1. Click Expand for Operation

  2. Scroll till AVERAGE is Visible

  3. Click AVERAGE

Image 125_126_127

  1. Click Expand for Measure

  2. Click Sales Revenue

Image 128_129

🚩Here we are selecting the aggregation dimension that will be used to calculate our average. Since we want average sales revenue by store, we should change this dimension to Store.

  1. Click Expand for Aggregation Dimensions

  2. Scroll till Store is Visible

  3. Click Store

Image 130_131_132

  1. Rename the calculation to Avg Sales Revenue

  2. Click OK

Image 133_134

⚠️Quality Check! Do your numeric point charts have these values and measures on your story? Please note that your time chart may look different from this screenshot due to the dynamic date filter on YTD.

Quality Check 6

🚩At this stage, you should save your first story.

  1. Click File

  2. Click Save

  3. Click Save

Image 135_136_137

  1. Save your story in My Files as ANA260_ Your Initials

  2. Click OK

Image 138_139

🚩 You can also save your story by pressing Ctrl + S on your keyboard

Image 139

ℹ️You have completed Creating Your First Story!

Please continue with the next section Linked Analysis and Input Controls. We will also improve the styling of this dashboard in Section 4 - Theme and Style!

Final Picture



Summary

You have completed the entire Create Your First Story section!

You are now able to:

  • Understand how to use the Builder Panel
  • Create a variety of different charts to illustrate key relationships within your data