Orange Belt: Report Design Part 1

Table of Contents:

1. DataSelf Architecture

  1. Data warehouse: DataSelf ETL+ extracts the data from the source system(s) into a MS SQL Server data warehouse for a single version of the truth, data consolidation, ease of reporting and fast performance.

  2. Analytics: Streamlines the data sources for easier reporting design and distribution.

  3. Actionable Insights: Preconfigured views and dashboards provide value on day one, as well as allow users to easily perform ad hoc analysis and create new views.

The DataSelf Value Proposition:

2. Examples of the pre-built _Sales_Invoice data source based on different ERP sources.

This is what DataSelf did behind the scenes to create the _Sales_Invoice data source you see in Tableau.
The star schemas shown below are examples of Sales data feeding the Workbook Editor’s Data panel. Editing the star schemas requires user licenses for DataSelf Tableau Desktop and MS SQL.
Addition of existing ERP fields to tables in the star schema requires an ETL+ user license to edit DataSelf ETL+.

Acumatica

NetSuite

Sage 100

Sage 300

Sage X3

3. Sign in to DataSelf Training Site

  1. Go to https://bi1.dataself.com

  2. For Class training, sign in with:

    1. User: Student_01

    2. Pw: Student_01

  3. For Self-Serve training, sign in with:

    1. User: orange

    2. Pw: DataSelf1!

  4. If prompted to Select a Site, select training_orange.

4. Creating a new workbook

Tableau help links: Sign in and explore projects, Tour Your Tableau Site - Tableau

  1. Click on the Explore icon in the left panel to list the
    Top-Level Projects.

  2. Click on the New button and select Workbook

  3. Select a data source by either double clicking on it or clicking once to highlight the data source then clicking on the Connect button in the lower right. For this training, select _Sales_Invoice.
    Tableau help link: Connecting to Data

5. Workbook Editor Main Areas

Tableau Help: Getting Started with Web Authoring

  1. Main areas of the Workbook editor:

    1. Data source for workbook: (additional data sources can be added later).

    2. Data structures for reporting:

      1. Dimensions (top section): non-numeric data fields for grouping by rows and columns.
        i.e., Adding the Customer field to the Rows section will display a row for each customer and will subtotal (aggregate) numeric data by each Customer group.

      2. Measures (bottom section): numeric data fields to subtotal (aggregate) for the most detailed Dimension group. i.e., Qty Sold by default will display the Sum of the Qty Sold number for each invoice line grouped by Customer.

    3. The View area, where you see the output display of your work.

    4. Sets the Workbook’s Rows and Columns.

    5. Sets the Workbook’s Filters.

    6. Sets the Workbook's Marks.

Tableau Help Link: Edit Tableau Views on the Web

6. Drag and Drop, creating a basic view

Activity 1: How to create a view showing Sales by Customer.

  1. In Step 4 you created a new workbook connected to the _Sales_Invoice data source.
    From the top Dimensions section of the data panel on the left, drag the Customer dimension field into the Rows section.

  2. From the bottom Measures section of the data panel, either double click on the Sales measure to let Tableau auto-add it or mouse-drag the Sales measure into the Abc area on the View section.
    The Abc indicates you are displaying a numeric measure value as text rather than color or size.

  3. The Sales by Customer view is done!

FYI: If you want to undo steps, clear the sheet or start a new sheet:

7. Filters

Filters control which records are included or excluded based on the value of a dimension or measure.
Tableau help link: Filter Data from Your Views - Tableau

Activity 2: Modify Sales by Customer worksheet and add a column for Invoice Date (year).
Show the Filter to select only the last 2 years.

  1. Drag Inv Date to the Columns (top center section). Notice it automatically groups it by Year.

  2. Right-click the YEAR(Inv Date) dimension field on the Columns. Select the Show Filter property.

  3. In the Year of Inv Date filter on the right, unselect All, then check the boxes for the last two years.

  4. Right-click the Customer dimension field on the Rows and select Show Filter.

  5. Rename the sheet. Right-click Sheet 1 and rename it to Sales by Customer.

You can also drag dimensions and measures directly from the Data panel to the Filters section (center panel). This method often shows more Filter options. But it does not automatically show the filter on the right, so you need to right click and select Show Filter. We will go over this method in more detail on Part 2.

Activity 3: Drag Salesperson to the Filters section, then right click to show filter and select/unselect some of its members on the right panel.

Creating multiple sheets/views.

A Tableau workbook can contain multiple worksheets. These sheets are also described as views and tabs.

Two Methods to create a new Sheet/View:

Method 1: If you want to make use of the structure you created in an existing view to create another sheet/view, right-click on the existing worksheet tab and select Duplicate. This will create a new sheet with a (2) after the original’s sheet name. Then you can modify the Rows and Columns as desired.

 

Method 2: Click on the New Worksheet tab icon and create a new view from blank.

 

Activity 4: create two additional views: Sales by Salesperson, Sales & Qty Sold by Item.

Name the Item view Sales by Item.

In the examples above, the Row Dimension was changed to the new field, but the filters did not automatically change. To remove the old Filters, right click on the desired field in the Filters section and select Remove.

 

8. Publishing (Saving your work)

Saving/Publishing applies to the whole workbook. Workbooks are like Excel files, containing one or more sheets (also call tabs or views), which are like Excel tabs/sheets.

Activity 5: Publish your workbook

  1. Click File Publish As. Or use the Publish icon in the upper right corner.

  2. Name the workbook. For this training course, user your name with a number suffix. i.e., “Pat Smith 2”

  3. Check Show sheets as tabs (You can change this setting after the fact. You’ll see later what it does).

  4. Click Publish.

  5. Options to save next time:

    1. File → Publish

    2. Click the Publish icon in the top right

    3. Ctrl+S.

Exiting the Edit Mode

  • Click File → Close

  • Or click the white X on the top right of the black ribbon.

  • If the workbook has been published/saved, you will return to the explorer page.

  • If the workbook still displays, notice it is Viewer mode. There is no data pane to add fields, etc.

Returning to the Edit Mode

  1. From a worksheet or dashboard tab, click the Edit icon on the top left icon menu.

  2. From the list of workbooks or views, click the '' icon → Edit Workbook.

Activity 6: Duplicate the Sales by Customer worksheet and modify it to show Sales by Inv No & Inv Date for the last two years.

  1. Right-click the sheet tab and select Duplicate

  2. Drag the Inv No dimension on top of the Customer dimension in the Rows.

  1. Add the Inv Date field after the Inv No

    1. Tableau will automatically group the Invoice Date by Year. To convert it to an exact date is two steps.

    2. Once you add it to the Rows, right click and select Exact Date. This changes it to a Continuous type of data and shows it as a graphic.

    3. Right click again and select Discrete instead of Continuous. This will show the exact date as text.

9. Drag and Drop: Multiple Dimensions

Tableau Help Link: Dimensions and Measures Intro (tableau.com)

Dimensions define how records are sorted and grouped, and how measures are subtotaled (aggregated).
Multiple Dimensions form a grouping hierarchy based on the order they display in the Rows or Columns.
The last Dimension shown is called the lowest level of detail, which is the level of the measure total.

Activity 7: Create a new worksheet showing Sales by Customer, Invoice No, Invoice Date, and Item in the last 2 years.

  1. Create a new worksheet and insert Customer, Inv No, Inv Date and Item in the Rows.

  2. Sizing Columns: Drag the row column lines to change widths.

    TIP: For Dimensions select the column line within in the body of the rows. For Measures select the column line in the header area of the rows.

  3. Rearranging Row Field Order: note how subtotals and row totals change.
    On Rows, drag Customer to the middle of the fields (note the red down arrow when dragging and dropping fields - the down arrow indicates where the field will be inserted). Drag Customer to the far right and see how the data displays differently, then move it back to the left.

10. Grand Totals and Subtotals

Activity 8: Modify the Sales by Customer InvoiceNo Item worksheet to add grand totals and subtotals.

  1. Click the Sigma icon → Show Column Grand Totals.
    TIP: Click the Sigma → Column Totals to Top.

  2. Click the Sigma icon → Add All Subtotals.

  3. You can also add Row Grand Totals. Adding subtotals works for both columns and rows.

11. Sorting

Each Dimension can be sorted within the higher-level Dimension that it is grouped. This is called Nesting.

Tableau Help Link: Sort Data in a Visualization - Tableau

Activity 9: Sorting by Row Grand Totals

  1. Go to the worksheet Sales by Customer and add Row Grand Totals.

  2. Click the Sort icon on the Grand Total column header to change it from default order to Descending.

Note that the Sort Icon on the Customer heading shows a down arrow along with to descending icon. When you click on the arrow, you will see that the sort method is Nested. The nesting is based on the Grand Total of the sales per customer.

Sorting by Column and Row headers:

Each Column Header can display a sort icon to the right of the column name. As you click multiple times, it will cycle through default, descending, ascending sort order. There are also Sort Icons in the Icon bar at the top.

Alternate way to sort:
You can sort by a field by right clicking on the field in Rows or Columns section, then selecting Sort.
In the example below, it shows Nested because it had previously been sorted by the Row Grand Total.

 

12. Dashboards

A Dashboard displays multiple worksheets (dashboard objects) within that workbook in one view.
You can add actions to make the different dashboard objects to make them interactive.

Activity 10: Create a Dashboard combining a Sales by Salesperson worksheet with a Sales by Customer worksheet as an interactive dashboard.

  1. Verify your worksheets for Sales by Salesperson and Sales by Customer have filters set for the last two years.

  2. Create a new Dashboard sheet. On any sheet name (tab), right-click → New Dashboard. Or click on the 2nd new sheet icon.

  3. On the Dashboard Sheet, in the top left, select Size → Fixed Size → Automatic.

  4. In the left panel, drag the Sales by Salesperson worksheet into the Add sheets here area.

  5. On the left panel, drag the Sales by Customer worksheet into the right of the dashboard area to insert it after the Sales by Rep.

  6. Note the dashboard objects auto fit themselves on the sheet due to the Tiled property setting in the lower left corner.

  7. Adjust the dashboard object sizes by moving the borders as desired.

  8. Note the filters shown on the worksheets were automatically added to the Dashboards, which might result in duplicate filters. Select values on the filters and notice they only affect one object on the dashboard.

  9. Making filters affect the whole workbook and removing duplicates:

    1. Select a filter, click the arrow down button on the top right (or left) of the gray box around the filter, and select Apply to Worksheets → All Using This Data Source.

      Change the filter selections and see how they affect the whole dashboard.

    2. Remove duplicated filters by selecting them, and then clicking the X on the top right (or left) of the gray box around the filter.

13. Drill Down with Dashboards

  1. Using dashboard object Action Filters:

    1. Click on the Sales by Salesperson dashboard object.

    2. On the top corner of the gray box around the object, click the Use as Filter icon.

      Click on data points within the Sales by Rep object and see that it selects only related data in the other dashboard objects.

  2. Add the Sales by Item worksheet to the dashboard and apply the action filter. Now you can filter by salesperson, customer, or item and see the interactions.
    The example below includes the Sales by Item worksheet on the dashboard.

Activity 11: Create interactive Dashboard showing the worksheets: Sales by Customer, Sales by Inv No, and Sales by Item, to drill down from Customer to items on an invoice.

  1. You already have worksheets for Sales by Customer, Inv No and Item.

  2. Create a dashboard displaying Sales by Customer, Sales by Invoice#, and Sales by Item worksheets.
    Make one of the Year of Invoice Date Filters apply to all worksheets using this Data Source and remove the extra filters.

     

  3. Activate the Use as Filter action filters for all three dashboard objects. Select one customer and see it shows only the invoices and items for that customer. Select one invoice and see it shows only the items for that invoice.

Next: Orange Belt: Report Design Part 2.