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

Latest commit

 

History

History
931 lines (478 loc) · 33.7 KB

File metadata and controls

931 lines (478 loc) · 33.7 KB

Section 10 - Time Analysis Deep Dive

ℹ️Objective: Learn how to effectively analyze your time-based data, how to create time-based filters, calculations and visualisations.

Estimated Time: 20 mins

Exercise Description: You as a business analyst, need to assess company’s performance this year, compare operational and finance KPIs over time and learn how to enhance the dashboard with interactive capabilities to ensure company’s managers can further investigate the data.

Key Features:

  • Create dynamic and fixed date-based story and page filters with multiple ranges
  • Learn how to customise “current date” for greater flexibility when analysing time-based data
  • Create dynamic calculations such as Year-to-Date (YTD), Previous Year-to-Date (PYTD) and others
  • Learn how to define date-based hierarchies in SAC that best suit your needs

⚠️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.


⚠️Quality Check! Does your screen look like this screenshot?

10-r

  1. Click Home

10-2

ℹ️Welcome to the Time Analysis Deep Dive! We will also go into greater detail on the analytic capabilities available to story creators and how you can enhance yourdashboard to analyze trends over time

🚩For this section you will start with an existing story. Let's open the starting story from the file repository

  1. Click Files

10-3

  1. Click Public

10-4

  1. Click TechEd 2021

10-5

  1. Click Section 10.0 - Time Analysis (START)

10-6

⚠️Quality Check! Ensure this story was opened.

10-7

🚩As you do not have edit rights to this story, use Save As to create your own copy.

  1. Click File

  2. Click Save As

10-8

  1. Save the file as "ANA260_Section 10_Your Initials" in MyFiles

  2. Click OK

10-9

🚩Wait for the story to be copied

  1. Click Edit

10-10

🚩You want to do the time-based analysis on the Historical Performance tab.

  1. Select Historical Performance Tab

10-11

🚩Right now, there is no time-based filter on the dashboard, you want to narrow down the data to the current month to date. Let's create a story filter using the quick filter option for time.

  1. Click Add Story Filter icon

  2. Click Current

10-12

  1. Click Order Date

  2. Click Month under To Date

10-13

🚩You can see a story filter for the current month to date has been created and the entire dashboard has been filtered from start of this month until today.

Note: As this is a dynamic time filter, your data may look different based on today's date.

10-14

🚩 Currently the current month is determined based on system time. However, you want to provide your story viewers with the ability to determine what the current day is. For this you can add a custom current date input control.

  1. Click Order Date Story Filter

  2. Click Edit Filter

10-15

🚩While you created the month to date filter via quick options, the dynamic range filter dialog provides a lot of more options. First you want to add the custom current date input control.

  1. Expand Current Date

  2. Click + Create Current Date Input Control

10-16

  1. Rename to Date Selector

  2. Expand Granularity

  3. Click Day

10-17

🚩Let's set the default current date to October 31st, 2021 as it is the last day of last month.

  1. Expand Day Granularity

  2. Click January

  3. Click October

10-18

  1. Click 31

10-19

  1. Click OK

10-20

🚩Quality Check! Does your Dynamic Time Filter match the screenshot?

Note: Range 1: Current Month may not match due to dynamic time.

  1. Click OK

10-21

🚩You can see the Date Selector input control was added to the story filter bar. In the time series chart, you can see that the data now show October data until October 31st.

10-22

🚩Let's change the Current Date to December 8th, 2021 and see how the dashboard updates.

  1. Click Date Selector

  2. Click October

10-23

  1. Click Dec

10-24

  1. Click 8

  2. Click Outside the Date Selector to Collapse

10-25

🚩You can see, especially in the time series chart, that the dashboard has been updated accordingly.

10-26

🚩Next, you want to give your story viewers some more time filtering options. Such as Current Year to Date and Previous Year to Date. Of course, all these options shall be based on the Date Selector for the current date.

You can do this by adding additional ranges to the Current Month story filter

  1. Click Order Date

  2. Click Edit Filter

10-27

🚩The first range to add is beginning of the year up to today's date.

  1. Click + Add a New Range

10-28

  1. Click Include Range up to Current Period

10-29

🚩The next range to add is beginning of last year up to today's date last year. This can be done by applying an offset to the range filter

  1. Click + Add a New Range

10-r2

  1. Expand Range Type

10-31

  1. Click Offset

10-32

  1. Enter 1 as the Offset Amount

  2. Click Outside the Offset Amount

  3. Enable Include Range up to Offset Period

The last range shall be the last 2 years as well as the current year

  1. Click + Add a New Range

10-33

  1. Enter Look Back as 2

  2. Click Outside Look Back to Save Entry

🚩You're done with the set up of the 4 time ranges that the story view may choose from.

  1. Click OK

10-34

🚩Let's review the ranges created. Switch from Current Month to the Current Year filter.

  1. Click Current Month

  2. Click the Second Member

  3. Click outside to collapse the story filter

10-r50

🚩You can see on the time series chart that the filter has been applied. Let's extend to view the last 2 years as well as the current year.

10-r51

  1. Click Order Date

  2. Click the Last Member

  3. Click outside to collapse the story filter

10-r53

🚩Again, you can see on the time series chart that the filter has been applied.

10-r54

🚩Right now, the story filter has still a lot of options such as configuring the time periods to go back to. You can hide this complexity from the story viewer. Let's do that and only expose the effected time range to the story viewers.

  1. Click Order Date

  2. Click Settings

  3. Click Show/Hide

10-r56

  1. Deselect Look Back

  2. Deselect Current Period

  3. Deselect Look Ahead

  4. Deselect Range Info Icons

10-r60

🚩You can see that this looks much cleaner.

10-r61

🚩Next you want to add some page input controls to investigate, which orders where ordered and received in a certain time frame. These input controls shall be in the lane with the Order Deliver Analysis table. Let's select the lane and add an input control each for Order and Receive Date

  1. Click the Third Lane (Row)

10-42

  1. Click More icon

  2. Click Insert Input Control

10-43

  1. Click Dimensions

10-44

  1. Click Order Date

  2. Click Filter by Range...

10-45

🚩This time the range shall be fixed rather than dynamic

  1. Click Fixed

🚩You want the range of the order to be from October 1st to October 31st, 2021.

  1. Expand Granularity

  2. Click Day

10-46

  1. Expand the Beginning Date Picker

  2. Click 2019

10-47

  1. Click 2021

10-48

  1. Click January

10-49

  1. Click Oct

10-50

  1. Click 1

10-51

  1. Expand the End Date Picker

10-52

  1. Click December

10-53

  1. Click Oct

10-54

  1. Click 31

10-55

⚠️Quality Check! Does your range match the screenshot (October 1, 2021 - October 31, 2021)?

  1. Click OK

10-56

🚩The input control was added to the page. Let's expand it and put it into the position.

  1. Click and Drag the Input Control to Resize

10-57

⚠️Quality Check! Your dashboard should look like this.

10-58

🚩Let's create another input control to filter based on the receive dates between October 1st, 2021 and November 30th, 2021.

  1. Click the Third Lane (Row)

10-59

  1. Click More icon

  2. Click Insert Input Control

10-60

  1. Click Dimensions

10-61

  1. Scroll and Click Receive Date

  2. Click Filter by Range...

10-62

  1. Click Fixed

  2. Expand Granularity

  3. Select Day

10-63

  1. Expand the Beginning Date Picker

10-64

  1. Click 2019

10-65

  1. Click 2021

10-66

  1. Click January

10-67

  1. Click Oct

10-68

  1. Click 1

10-69

  1. Expand the End Date Picker

10-70

  1. Click 2022

10-71

  1. Click 2021

10-72

  1. Click January

10-73

  1. Click Nov

10-74

  1. Click 30

10-75

⚠️Quality Check! Does your range match the screenshot (October 1, 2021 - November 30, 2021)?

  1. Click OK

10-76

🚩The input control was added to the page. Let's expand it and put it into the position.

  1. Reszie Receive Date as Wide as Order Date Range Filter

10-77

⚠️Quality Check! Your dashboard should look like this.

10-78

🚩You may have noticed that the entire dashboard is filtered on the Order and Receive date input controls that you just added. You only want to apply these to the Order Delivery Analysis table. You can use Linked Analysis to set the scope of the page input controls

  1. Click the Order Date Range Filter

  2. Click the More Action

  3. Click Linked Analysis

10-80

  1. Click Only Selected Widgets

10-81

  1. Scroll and Click Order Delivery Analysis

  2. Click Apply

10-82

🚩We want to repeat the steps for the Receive Date Range Filter Input Control.

  1. Click Receive Date Range Filter

  2. Click More Action icon

  3. Click Linked Analysis

10-83

  1. Click Only Selected Widgets

10-84

  1. Scroll and Click Order Delivery Analysis

  2. Click Apply

10-85

⚠️Quality Check! Your page input controls should only drive the Order Delivery Analysis table

10-86

🚩Let's find out which orders that were shipped after Oct 1st, 2021 have been received by October 8th, 2021.

  1. Click the End Date Picker

10-87

  1. Click November

10-88

  1. Click Oct

10-89

  1. Click 8

10-90

🚩Next you want to calculate the time it takes to deliver your orders. This can easily be done via calculations.

  1. Click the Order Delivery Analysis Table

10-91

  1. Click Designer

  2. Click More Action Icon for Account

  3. Click Add Calculation

10-92

  1. Click Date Difference

10-93

The time to deliver the orders is the difference between Receive Date and Order Date.

  1. Expand Time (A)

  2. Click Receive Date

10-94

🚩You must specify the context of the calculation. As the delivery time is based on orders you must use Order ID in the dimension context. Also, in case the chart or table does not include Order ID, then an additional average aggregation will be applied to the calculation.

  1. Expand Dimension Context

10-95

  1. Click Order ID

  2. Click Outside the Dimension Context Drop Down Menu to Collapse

10-96

  1. Rename Calculation to Delivery Time

  2. Click OK

10-97

🚩You can see the delivery time has been added to the table.

Note: You may need to scroll in the table to see the new calculation.

10-98

Let's format the calculation.

  1. Click 1 Story Calculations

  2. Click Edit Formatting

10-99

  1. Deselect Use Unit of Underlying Measure

  2. Set Decimal Places to 0

  3. Click OK

10-100

🚩The calculation has been formatted. Let's order the measures in the table.

10-101

  1. Click Designer to collapse the Designer Panel

10-102

🚩We want to reorder the measure within our table.

  1. Right Click on Account to Open the Context Menu

  2. Click Sort Options

  3. Click Add Custom Order

10-103

🚩The desired order is: • Delivery Time • Sales Revenue • Gross Margin • Discount

  1. Click and Drag Delivery Time to the top

  2. Click and drag Sales Renue Below Delivery Time

  3. Click and Drag Gross Margin above Discount

10-104

⚠️Quality Check! Does your custom sort match the screenshot?

  1. Click OK

10-105

⚠️Quality Check! Does your table look like this?

10-106

🚩Next you want to compare the financial performance for this year to the performance from last year during the same period. You will do the analysis on the Financial Performance table. Select the table and open the Builder panel.

  1. Scroll to the Bottom of the Dashboard

  2. Click the Financial Performance Table

10-107

  1. Click Designer to Open the Builder Panel

🚩The table uses a measure input control. You want to have the time calculations apply automatically to any measures in the table, this can be done using Cross Calculations. Add the Cross Calculation dimension to the table

  1. Click + Add Measures/Dimensions

10-108

  1. Click Cross Calculations

  2. Click Outside the Measures/Dimensions Drop Down Menu to Collapse

10-109

🚩Let's add the first cross calculation as a restricted measure for the year to date time range using order date dimension

  1. Click the More Actions Icon for Cross Calculations

  2. Click Add Calculations

10-110

  1. Click Restricted Measure

10-111

  1. Expand Dimensions

  2. Click Order Date

10-112

  1. Expand Values or Input Controls

  2. Expand To Date Under Current Period

10-113

  1. Click Year

10-114

  1. Rename the Calculation to YTD

  2. Click OK

10-115

🚩You can see the calculation was added to the table. Let's create an equivalent calculation for the previous year's value.

10-116

  1. Click Add Calculations

  2. Click the More Action Icon for Cross Calculations

10-117

  1. Click Restricted Measure

10-118

  1. Expand Measures

  2. Click Account Values

10-119

  1. Expand Dimensions

  2. Click Order Date

10-120

  1. Expand Values or Input Controls

  2. Expand To Date Under Previous Period

  3. Click Year

10-121

  1. Rename the Calculation to PYTD

  2. Click OK

10-122

🚩Next you want to calculate the variance between last years data and this year’s data.

  1. Click the More Actions Icon for Cross Calculations

  2. Click Add Calculation

10-123

  1. Click Calculated Measure

10-124

  1. Type P

  2. Click PYTD

10-125

  1. Type - Y

  2. Click YTD

10-126

  1. Rename Calculation to Variance

  2. Click OK

10-127

🚩Before reviewing the table. Let's make sure we have only the desired calculations selected.

  1. Click Filter for Cross Calculations

10-rrrr1

  1. Click PYTD

  2. Click OK

10-129

⚠️Quality Check! Does your table look like this?

Note: Due to the dynamic time filter the data may vary.

10-130

🚩Next, you would like to adjust the order of the columns in the table.

  1. Click the More Actions Icon for Cross Calculations

  2. Click Edit Member Order...

10-131

🚩The required member order is:

YTD PYTD Variance Account Values Measure Selector

  1. Click and drag YTD to top

  2. Click and drag PYTD below YTD

  3. Click and drag Variance below PYTD

10-132

⚠️Quality Check! Does your Edit Member Order match the screenshot?

  1. Click Done

10-133

⚠️Quality Check! Does your table look like this?

10-134

🚩You want to make the variance stand out more easily indicating where there was an increase or decrease from last year. This can easily be done by turning it into a variance in-cell chart.

  1. Right Click Variance to Open the Context Menu

  2. Click In-Cell Chart

10-135

  1. Click the In-Cell Chart

  2. Expand the Comparison Tile

  3. Click Variance Bar

10-137

⚠️Quality Check! Does your table look like this?

10-138

🚩Next let's look at some time navigation inside a chart. The chart shows the Sales Revenue over time. Let's drill a level down to understand how 2021 is performing.

  1. Drag the Horizontal Scroll Bar to the Right

  2. Left Click the 2021 Bar

  3. Click the Drill Down Icon

10-139

🚩You can see the chart now show the Sales Revenue by quarter. However, you're more interested in it for the half year. Let's change the hierarchy via the builder panel.

10-140

  1. Click the Drill Icon for Order Date

  2. Click Set Hierarchy

10-141

  1. Expand Hierarchy

  2. Click Year, Half-Year, Quarter, Month, Day

10-142

  1. Click Set

10-143

🚩The chart has been reset to the new hierarchy. Let's change the level via the builder panel.

10-144

  1. Click the Drill Icon for Order Date

  2. Click Level 3

10-145

⚠️Quality Check! Does your chart look like this?

10-146

🚩Now let's look at quickly showing the year over year changes if the Sales Revenue. This can be done via time calculation quick options if time if in the chart

  1. Click the More Action Icon for Sales Revenue under Measures

10-147

  1. Click Add Time Calculation

  2. Click Year Over Year

10-148

  1. Remove Sales Revenue

10-149

⚠️Quality Check! Does your chart look like this?

10-150

🚩You can see that H1 2021 is significantly lower than H1 2020. Let's drill into this more.

  1. Click the H1 2021 Bar

  2. Click Drill Down

10-151

🚩The major deviation was in Q1 of 2021.

10-152

ℹ️You have concluded the Time Analysis Section! Save your document.

🚩Press Ctrl + S to save your story

10-f



Summary

You have completed the entire Time Analysis section!

You are now able to:

  • Create dynamic and fixed date-based story and page filters with multiple ranges
  • Customise “current date” for greater flexibility when analysing time-based data
  • Create dynamic calculations such as Year-to-Date (YTD), Previous Year-to-Date (PYTD) and others
  • Define date-based hierarchies in SAC that best suit your needs