Академический Документы
Профессиональный Документы
Культура Документы
(KPIs) in Tableau
The following tutorial will show you how to create KPIs in Tableau 8.2. To get started, you will need the
following:
Now that we have a high-level overview of KPIs, lets start the first part of the tutorial. Read the
following scenario and complete a short report for your boss.
Imagine that you are a new data analyst hired by a medium-sized company that specializes in marketing
and sales. The company is new to data analytics. Your boss has heard that KPIs are the greatest thing
since sliced bread. However, your boss is way too busy to think about researching KPIs. So, he assigns you
the task of typing up a short report (no more than a page, double-spaced) on KPIs. In the report, he
wants you to define KPIs, as well as give him some examples of KPIs that could be useful for marketing
and sales. Moreover, your boss wants you to do a little benchmarking and provide him with some
examples of what other companies in your domain are doing with KPIs. And remember, your boss likes
visuals, so some visual examples would also be helpful.
I. Create the base view with the data you want to measure
1. Open a new workbook and connect to the Sample Superstore English (Extract) data source.
2. From the Dimensions pane, drag Category to the Rows shelf and Region to the Columns shelf.
3. From the Measures pane, drag Sales to Text on the Marks card.
II. Create a calculated field using the Sales figure
IF SUM ([Sales]) > 125000 THEN "Above Benchmark" ELSE "Below Benchmark" END
3. Confirm that the status message indicates that the formula is valid, and then click OK.
Note: You can also write the formula the following, slightly more succinct format:
1. On the Marks card, from the drop-down list of views, select Shape.
2. From the Measures pane, drag KPI to Shape.
7. You can fine-tune how Tableau displays the mark labels by doing the following on the Label
drop-down control:
To show the label for just one mark, under Marks to Label click Highlighted, and then
click the mark in the view.
To show the labels for one or more marks, under Marks to Label click Selected, and
then select the marks in the view.
8. Save your worksheet as Sales KPI
I. Profitability by Item
II. Profitability Details
III. Profitability by Category
Create the Scatterplot Using the Profit Ratio and Profitability KPI
1. Drag the Profit Measure into Columns, and the Profit Ratio into Rows
You build another dashboard that links from one to the other.
You utilize multiple filters.
Your dashboard layout and interactivity tells a simple, but meaningful story about
profitability.
You go back to the worksheets and add labels (e.g., Customer Name, Customer ID), which
you could potentially implement a search quick filter based on these items.
Part 4: Write-Up
Once your dashboard is finished, please write a short analysis about your dashboard. In your analysis,
include the following points. Please save your write-up as KPI_Analysis.docx