Tableau: From Data Connection to Interactive View

Tableau is a visual analytics tool used in business intelligence to explore connected data and build interactive views. You create a workbook by placing fields into views, checking how Tableau summarizes them, and combining useful views for users. Effective Tableau work depends on understanding what each mark represents and which records contribute to it.

Connect and inspect the data

Begin with a business question, such as which branches contribute the most revenue. Connect to the approved file, database, or published data source. On the Data Source page, inspect field types and establish what one source row represents. A sales line, an order, and a monthly branch total support different interpretations.


Tableau can use a live connection or an extract. Choose according to the organization's access, performance, and freshness requirements.


Connection

What Tableau uses

Freshness check

Live

Queries against the connected source

Check source updates and whether the view has queried current data.

Extract

A stored snapshot of source data

Check the latest successful extract refresh.


An extract does not acquire new source records simply because you reopen a workbook. Its refresh process must update the snapshot.


Three connected stages show data inspection, worksheet construction, and dashboard testing.


Build a worksheet deliberately

A worksheet is a sheet where you construct an individual data view. The Data pane contains available fields. Rows and Columns establish the view's structure; the Marks card controls properties such as mark type, colour, label, and detail. The Filters shelf restricts the data included in that worksheet's view.


Dimensions group records, while measures summarize values. For branch revenue, Branch supplies categories and Revenue supplies the amount to aggregate. A numeric branch identifier still represents a category; adding its digits has no useful business meaning.


Tableau also distinguishes discrete and continuous fields. Blue pills indicate discrete fields, which create headers on Rows or Columns. Green pills indicate continuous fields, which create axes there. These colours do not directly identify dimensions and measures.


Check the aggregation displayed on each measure pill. SUM suits additive sales amounts; AVG answers a different question. Count (Distinct) counts unique identifiers when several rows can belong to one business entity.


Adding dimensions can change what each mark represents. Branch alone can produce branch totals; adding Product Group to Colour can divide those totals into product-group marks.



For monthly trends spanning several years, a continuous month date value preserves the year-month sequence. A month date part used alone groups matching month names across years.

Combine views and test their behaviour

A dashboard combines worksheets and other objects in one interactive display. Adding worksheets to a dashboard does not automatically synchronize their filters. Set each shared filter's worksheet scope deliberately.


Filter actions pass selected values to target worksheets. Highlight actions emphasize matching marks while retaining others. Choose the action that matches the intended interaction, then test selection and clearing the selection.



Before sharing through Tableau Cloud or Tableau Server, compare a known subset with the approved source, test dashboard controls, and confirm intended users can access the published content. For extracts, establish a refresh arrangement and verify that it succeeds.

What to remember

  • Inspect source-row meaning before building views.
  • Check field roles, aggregations, and the dimensions defining each mark.
  • Configure dashboard filter scope and actions explicitly.
  • Validate source agreement, interactions, access, and data freshness.

Example: Build a Regional Sales Review in Tableau

A homewares retailer provides an approved Excel file covering January 2023 through December 2024. Each row represents one completed sales line. The file contains Store ID, Region, Sale Date, Product Group, and Net Sales in CAD. Net Sales is additive across lines. Store ID is a numeric identifier, and Sale Date contains valid dates.


A regional manager wants a Tableau dashboard with regional sales bars and a monthly sales trend. Selecting a regional bar should restrict the trend to that region; clearing the selection should restore the trend for all regions. No other dashboard filters are required. The workbook will use an extract and be published to the organization's Tableau Cloud site.


a) Describe the initial data checks and configure the regional sales worksheet.


Connect to the Excel file and inspect it on the Data Source page. Confirm that Sale Date is recognized as a date, Net Sales as a numeric amount, and one row still corresponds to one completed sales line. Check for missing regions, unexpected dates, or duplicated sales lines before interpreting the view.


Use Region and Store ID as dimensions because they identify groups. Use Net Sales as a measure. Store ID contains numbers, but adding those identifiers would not describe sales.


Create a worksheet named Regional Sales. Place discrete Region on Rows and continuous Net Sales on Columns. Confirm that the measure pill uses SUM, select Bar marks, and format the axis and tooltips in CAD. Each bar now represents total Net Sales for a region over the file's full period. Compare a chosen region's total with the sum of the matching approved source lines.


b) Configure the monthly trend and connect it to regional selections.


Create a worksheet named Monthly Sales. Place Sale Date on Columns and select the continuous Month date value. This preserves a chronological sequence in which each month belongs to its particular year. Place SUM of Net Sales on Rows, select Line marks, and format sales values in CAD.


Add both worksheets to a dashboard. Create a filter action with Regional Sales as the source and Monthly Sales as the target. Run the action on selection and use Selected Fields to map Region to Region. Configure clearing the selection to Show all values.


The action sends the selected region to the trend worksheet. It does not need to filter the regional bars, so those bars remain available for choosing another region. A highlight action would retain other regions' data in the target rather than restrict it as requested.


c) Explain how you would validate and publish the workbook using an extract.


Start with no selected regional bar. Compare the monthly trend with source totals for all regions, using matching calendar-month boundaries. Select a region and confirm that the trend agrees with that region's source records. Select another region, then clear the selection and verify that the all-region trend returns. Also confirm that months from different years remain separate.


Create the extract from the approved file and publish the workbook to the intended Tableau Cloud project with the required permissions. Confirm the organization's supported refresh arrangement for this file source; publishing alone does not establish that future file changes will reach the extract.


After a successful refresh, verify a known updated source record or total in the published workbook. Test the selection and clearing behaviour again in the published view, and verify access using an intended viewer's account. These checks establish source agreement, interaction behaviour, freshness, and usability for the intended audience.

A logistics company connects Tableau to a file containing one row per delivery. Depot Code contains numeric identifiers such as 4107 and 5823. The analyst wants a separate bar for each depot showing its total Delivery Cost in CAD. How should Depot Code be used?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A purchasing analyst is organizing a Tableau analysis for a management meeting. Match each Tableau object to its defining role.

Match each term
A.

A sheet arranging several views for simultaneous comparison

B.

A sheet organizing a sequence of views or combined displays to convey information

C.

The document containing the analysis's sheets

D.

A sheet containing a single view built using shelves and cards

Worksheet

Story

Dashboard

Workbook

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A Tableau dashboard contains a supplier comparison and a shipment-detail worksheet. Both use the same approved data source. Selecting a supplier currently highlights its shipments in the detail worksheet, but shipments from other suppliers remain visible. The requirement is to display only the selected supplier's shipments and restore all shipments when the selection is cleared. Which configuration meets that requirement?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice