This lab focuses on the end-user analytics experience in Sigma. You will be playing the role of a marketing analyst undertaking exploratory revenue cohort analysis. Traditionally, this type of analysis requires a significant effort and advanced SQL knowledge, but Sigma empowers business users to quickly derive these insights on their own.

This lab is intended to showcase advanced features such as cross-level aggregate calculations, extracting values from JSON, Tracing lineage in Sigma, and showing different paths an analyst can take to achieve their goals.

Prerequisites

What You Will Learn

What You'll Need

What You'll Build

Footer

  1. Navigate to your Retention Analysis workbook created using the instructions here:
  2. Now that you are in the Workbook, navigate back to the "Data" page.
  3. On the data page's "Base Table" let's expand the "Cust Key" grouping by clicking the "+" to the left of the "Cust Key" column header. Next hover over the top right corner of the element, select the "Create Child Element" icon and click "Table". Then rename the new table "Revenue Cohort Base Table".

image1

  1. We will create one more table as a child element of the new "Revenue Cohort Base Table" by hovering over the top right corner of the element, selecting the "Create Child Element" icon and clicking "Table". Finally rename the new table "Revenue Cohort".

image2

  1. Now hover over the top right of the "Revenue Cohort" table, select the 3-dots icon and click "Move to page" → "New Page".

image3

  1. Let's rename this page to "Revenue Cohort".

image4

  1. Now click on the arrow next to "Store Region" and select "Group Column".

image5

  1. Next add a column with the formula "sum(revenue)" named "Region Revenue".

image6

  1. Click on the arrow next to "Customer Revenue Bin" and select "Group Column".

image7

  1. Now add a column named "Bin Revenue" with the formula "sum(revenue)".

image8

  1. Next add another column named "Bin Rank" with the formula "Rank([Bin Revenue], "desc")".

image9

  1. Finally add one more column named "% of Region" with the formula "[Bin Revenue] / [Region Revenue]" and format it as a percentage by clicking the arrow next to the column name and selecting Format - Percentage.

image10

  1. Now let's collapse the "Customer Revenue Bin" grouping.

image11

  1. Let's add data bars to the "% of Region" column by right clicking it and selecting "Conditional formatting". This will pop out the formatting pane on the left side of the screen. Then, select the "DATA BARS" tab strip to apply them to the column.

image12

  1. Back on the "Data" page hover over the top right of the "Revenue Cohort Base Table" element, select the "Create Child Element" icon and click "Visualization". Then rename the new visualization "Revenue by Store Region and Customer Bin".

image21

  1. Now hover over the top right of the newly created visualization, select the "Kebab" icon and click "Move to page" → "Revenue Cohort".

image22

  1. Drag and drop the following columns to the respective sections:

image23

  1. Now let's rearrange the layout of the workbook and drag the bar chart to the right of the "Revenue Cohort" table.

image24

  1. Finally lets modify the bar chart to be horizontally oriented by clicking it then selecting the "Display horizontal" icon on the top left pane.

image25

  1. Back on the "Data" page hover over the top right of the "Revenue Cohort Base Table" element, select the "Create Child Element" icon, click "Pivot Table" and name it "Regional Sales by Revenue Bin".

image31

  1. Now hover over the top right of the newly created visualization, select the "Kebab" icon and click "Move to page" → "Revenue Cohort".

image32

  1. Drag and drop the following columns to the respective sections:
  1. Create a column by clicking the "+" icon next to values and select "New Column", with a formula "Sum([Profit]) / Sum([Revenue])", named "Gross Margin %", and format it as a percentage.

image33

image34

  1. Now let's add conditional formatting to the "Gross Margin" column. On the left side select the paint brush and click "Conditional formatting". Change the style to "Color Scale".

image35

  1. Repeat the previous step for "Sum of Revenue" except this time first click "+Add rule" then select "Data Bars".

image36

  1. Next let's drag the "Store Name" column to the "Pivot Rows" section to build out the hierarchy.

image37

  1. Now that we have built out a summarizing pivot table we might want to be able to see the underlying data. With Sigma this can be done by right clicking any cell and selecting "Show underlying data".

image38

  1. Lets organize and spruce up the workbook to make it a finished product. Exit the underlying data view by clicking the "Minimize element" icon in the top right.

image41

  1. Let's go back to the "Revenue Cohort Base Table" on the data page and create a filter by right clicking "Product Type", selecting "Filter".

image42

  1. On the newly created filter click the "Kebab" and select "Convert to page control".

image43

  1. Move the new "Product Type" filter to the "Revenue Cohort" Page by clicking on the "Kebab" and selecting "Move to Page" and clicking "Revenue Cohort".

image44

  1. Now that the filter is on the "Revenue Cohort" page drag it to the top of the workbook.

image45

  1. Repeat the previous four steps to create filter for "Product Family" and "Product Name".

image46

  1. Finally we will create a text element, then move it to the top and name the dashboard "Product Sales Analysis".

image47

  1. Your finished workbook should now look like this.

image48

In this lab, we showcased how Sigma enables end users to do last-mile data analysis in a familiar, spreadsheet-like UI. Sigma empowers end users to create complex, cross-level metric calculations all without coding skills or writing any SQL, unlocking the power of the underlying cloud data platform for all end users.

Helpful Resources

Help Center Home
Sigma Community
Sigma Blog

Be sure to check out all the latest developments at Sigma's First Friday Feature page!

Footer