Tableau Guideline Honda Nov23 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 41

TABLEAU FOR HVN

GUIDELINE
DOCUMENT VERSION: 1.0
APPLIED DATE: 30-Nov-2017

Abstract
Guideline for using Tableau for HVN

Pham Tuan Anh


[email protected]

Internal Use Only 1


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

Record of change
*A - Added M - Modified D – Deleted

Ngày hiệu Mục thay đổi A* Mô tả nội dung thay đổi Lí do thay đổi Phiên bản
lực M, D

Nov 23 New create A New create 0.9

Internal Use Only 2


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

Table of content
I. TABLEAU INSTALLATION ............................................................................................................ 4
1. Tableau Desktop installation...................................................................................................... 4
2. Tableau Server installation ........................................................................................................ 6
3. Tableau Online installation ........................................................................................................ 8
II. TABLEAU USERGUIDE ................................................................................................................ 9
1. Tableau product working model................................................................................................. 9
2. Preparing Data......................................................................................................................... 10
3. Preparing geography map ....................................................................................................... 14
4. Tableau buidling chart guidline ................................................................................................ 28
5. Tableau using notes ................................................................................................................ 40
THE END ............................................................................................................................................. 40
Appendix ............................................................................................................................................. 41

Internal Use Only 3


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

I. TABLEAU INSTALLATION

1. Tableau Desktop installation

1.1. Download the package

v Step 01: Go to Tableau website


(https://www.tableau.com/products/trial) to download Tableau desktop
version

v Step 02: Click TRY NOW

v Step 03: Enter email to download. Then click the DOWNLOAD TREE
TRIAL button, and a 400-MB-setup-package will default be downloaded, or

v Step 04: You will choose which version OS to download

1.2. Install the package

v Recommendation hardware:

ü 64-bit architecture only (come on people it’s 2017)

ü Microsoft Windows 7 SP2 or newer (or Microsoft Server 2008 R2 of


newer)

ü Intel Core i3/i5 or AMD Athlon processor or newer

ü 8GB memory (to cope with large datasets and complex workbooks)

Internal Use Only 4


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

ü Solid-state drive (SSD) disk, with 5 GB minimum free disk space

ü IE9 or newer

v After downloading, install the package as usual, there is no notification


installing on desktop version

v On the last step of installation, enter license key or choosing trial


version. Here is enter-key screen:

1.3. Test after installing package

v Open the product after installing, the first look of icon and first time
open screen should be like this:

Internal Use Only 5


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

2. Tableau Server installation

2.1. Download the package

v Step 01: Go to Tableau website


(https://www.tableau.com/products/server/options) to download Tableau
server version

v Step 02: Choosing On-Premise, next

v Step 03: Enter email to download. Then click the DOWNLOAD TREE
TRIAL button, and a 400-MB-setup-package will default be downloaded

Internal Use Only 6


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

2.2. Install and configuring the server package

v On Cloud: Tableau will serve. Please contact Tableau staff (tableau.com)

v On Premise: Recommendation hardware:

ü 64-bit architecture only (come on people it’s 2017)

ü Microsoft Windows 7 SP2 or newer (or Microsoft Server 2008 R2 of


newer)

ü Intel Core i3/i5 or AMD Athlon processor or newer

ü 8GB memory (to cope with large datasets and complex workbooks)

ü Solid-state drive (SSD) disk, with 5 GB minimum free disk space

ü IE9 or newer

v Go to online doc to follow:


http://onlinehelp.tableau.com/current/guides/everybody-install/en-
us/everybody_admin_install.htm

2.3. Test after installing package

v View the site online/server should be like this:

Internal Use Only 7


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

3. Tableau Online installation

3.1. Install the package online

v Go to Online version (https://www.tableau.com/products/cloud-bi), click


TRY FOR FREE

v A form appears to input data in to get Tableau Online, then an email will
be sent to you to validate, credentail to login Tableau online.

v After a while installing online, the web will appear like this for you to
login as credential registered & responded email.

Internal Use Only 8


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

3.2. Test after online installing package

v Login and it should be like this:

II. TABLEAU USERGUIDE

1. Tableau product working model

1.1. Architecture overview

Internal Use Only 9


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

1.2. Products required for small organization (<100 workers)

v Should use Tableau Desktop and Tableau Online

v Tableau Desktop: for authorize data, building chart, analyze data, export
to Server/Online version

v Tableau Online: for viewing, editing, semi-analyze data, sharing ideas,


chat with members online (over internet)

1.3. Products required for big organization (>100 workers)

v Should use Tableau Desktop and Tableau Server

v Tableau Desktop: for connect data sources, authorize data, building


chart, analyze data, export to Server/Online version

v Tableau Server: for viewing, editing, semi-analyze data sharing ideas,


chat with members internal/external/online purposes.

2. Preparing Data

2.1. Data from data sources (database, data warehouse, data lake… SAP,
Oracle, MS SQL….)

2.1.1. From HVN SAP DBM – MS SQL


2.1.1.1. Connect to data sources

v Open Tableau Desktop to connect to data source (server name/ db


name, user and password are needed)

Internal Use Only 10


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

v Run and check SQL query on SQL tool

ü In this case, our query is:

v Consideration:

ü The query should be implemented first via server side, or other SQL
management tool to validate/refine data and query accuracy, example - on
our management tool:

2.1.1.2. Choosing right data table

v Consideration

Internal Use Only 11


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

ü Each business has it own data and has some data tables to get the right
data on

ü So let us build the query from SQL tool, and refine the result, refine the
right tables to choose

ü Example: after a while exploring from over 70k tables on SAP, we found 3 tables that
relate to data we need:

• ZKPMxxx_target

• T003xxx

• MNTVBxxx

2.1.1.3. Clean data

v Consider validating whether data is compatible with following format, if


not please clean/reformat to match Tableau data:

ü Type string

ü Type of number

v To analyze data best, all data must be available, there should not be
any NULL values

2.1.1.4. Build SQL query

v Run the query on Tableau:

v After SQL query is OK, run it on Tableau Desktop. Result should be like
this:

Internal Use Only 12


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

2.1.1.5. Optimize SQL query

v Check the result output, and refine the query until it is optimized. The
quality of data is:

ü There is no double value each row of data output

ü There is no NULL value

ü The amount of data must be correct as stated as real data reported


from Sale department.

2.1.2. From HVN PC PACK Oracle


2.1.2.1. Connect to data sources

v Same above, but the dialogue is different:

2.1.2.2. Clean data

v <same above>

2.1.2.3. Build SQL query


Internal Use Only 13
TABLEAU FOR HVN GUIDELINE VERSION: 1.0

v <same above>

2.1.2.4. Optimize SQL query

v <same above>

2.2. Data from Excel

2.2.1.1. Clean data

v Open Excel file

v Check data is whether valid with Tableau data format (string, number),
and there should be no NULL value:

3. Preparing a customized geography map

3.1. From MapBox

3.1.1. Create mapbox style


v Why this? – to create a customized geographical map. Each map has it
own style (texture covers on map), dataset (data points on map) to view,
tileset (data areas appears on map) to view

v Registration an account on mapbox.com

Internal Use Only 14


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

v Add new style

v Then, go to add dataset & tileset

3.1.2. Add dataset


v Why this? – to add a customized point to the map.

v Prepare dataset on Excel file, here we use


(https://www.doogal.co.uk/BatchGeocoding.php) for getting long & lat from
location name. Example: Bac Ninh, from VietNam will be:

Internal Use Only 15


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

v And post on Excel for import Tableau

v Choose from mapbox to open and upload dataset Excel file

Internal Use Only 16


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

v Export and add to mapbox style

Internal Use Only 17


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

v View and edit dataset on style

v Edit dataset layer on style

Internal Use Only 18


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

v Add icon, text to style

Internal Use Only 19


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

v Google search an SVG Honda icon for car, and add Honda icon to icon
set and put on style

3.1.3. Add tileset

Internal Use Only 20


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

v Why this? – to add a customized area to the map.

v Build tileset from (http://geojson.io/), search Vietnam, and draw area


Hanoi:

v Export to GeoJson format

Internal Use Only 21


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

v Import to Tileset

v Add tileset to style

v Edit title set on style

Internal Use Only 22


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

3.1.4. Export style

Internal Use Only 23


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

3.1.5. Import map to Tableau


v Choose to develop export, and choose Tableau then copy the URL.

Internal Use Only 24


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

v Import that URL map to Tableau

Internal Use Only 25


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

Internal Use Only 26


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

3.2. From others


<tbd>

Internal Use Only 27


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

4. Tableau building chart guideline

4.1. Workbench intro

4.1.1. Tableau desktop


v Design chart screen workbench (on Tableau Desktop)

ü Area 1: choosing data source to connect

ü Area 2: Fields of data to drag in chart or, analytics method to apply

ü Area 3: Controls to edit chart (data source to add, switch y & x axis,
share chart, slideshow chart, sorting data y or x…)

ü Area 4: Data to view on x & y axis

ü Area 5: Filter data to view is set here (minus or plus more fields on
data); and appear on area 8

ü Area 6: Choosing which types of chart would be (bar, line, dot, geo-
map); choosing which kinds of data to illustrate (color, volume); choosing
which types of note to popup on chart each time cursor hovers.

ü Area 7: Appears when double values are calculated for one axis

ü Area 8: Filter appears to control

ü Area 9: Shortcut to apply chart types that adapts with data

ü Area 10: Tabs to show CURRENTLY sheet to work on, dashboard to


work on, data source to work on

ü Area 11: Space to design chart (drag data from area 2 into it)

Internal Use Only 28


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

ü Part 12: to add new sheet to create a single chart, based on current
data source

ü Part 13: to add new dashboard (to show many charts to one dashboard)

4.1.2. Tableau server/online


v Online/server view chart screen workbench (on Tableau Server/Online)

ü Area 1: Control functions of: users, tasks, status…

ü Area 2: Control products: projects, views, data sources..

ü Area 3: Filter content from area 4

ü Area 4: Content of current project (including workbooks, views, users in,


data sources)

4.2. Bar chart emerged with Dot chart

4.2.1.1. Example:

Car Plan/Actual 2017: to view actual and plan data in bar chart car sale data in
2017

Internal Use Only 29


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

4.2.1.2. Import/Connect data to Tableau Desktop

v Data will be prepared as step 2.1 above

v Open data/connect to host SAP DBM, like steps on 2.1 above

4.2.1.3. Combine and refine data

v Refine again to check null value, wrong value, be sure all data should
be: string or number

4.2.1.4. Drag to the right chart & adding filter

v Drag fields into right areas as following:

4.2.1.5. Editing note and popup

Internal Use Only 30


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

v Add more line chart on

v Edit note popup

4.2.1.6. Add to dashboard

Internal Use Only 31


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

4.2.1.7. Export to Tableau server/online

4.3. Line chart

4.3.1.1. Example:

Trending cars on 2017: to view trending actual and plan data in line chart car
sale data in 2017

Internal Use Only 32


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

4.3.1.2. Import/Connect data to Tableau Desktop

v Data will be prepared as step 2.1 above

v Open data/connect to host SAP DBM, like steps on 2.1 above

4.3.1.3. Combine and refine data

v Refine again to check null value, wrong value, be sure all data should
be: string or number

4.3.1.4. Drag to the right chart

v Drag fields into right areas as following:

Internal Use Only 33


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

4.3.1.5. Adding filter

v See img above to set fields on Filters, and set it into right panel

4.3.1.6. Editing note and popup

v Edit note

Internal Use Only 34


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

4.3.1.7. Add to dashboard

4.3.1.8. Export to Tableau server/online

4.4. Geographical chart

4.4.1.1. Example

Geo-RS CAR density by city of Q3 2017: show car sale distributed by model on
all area in Vietnam via geographical map, on Q3 2017

Internal Use Only 35


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

4.4.1.2. Import/Connect data to Tableau Desktop

v Data will be prepared as step 2.1 above

v Open data/connect to host SAP DBM, like steps on 2.1 above

4.4.1.3. Combine and refine data

v Refine again to check null value, wrong value, be sure all data should
be: string or number

4.4.1.4. Drag to the right chart

v Drag long and lat to X & Y axis

v Drag “Nhan Hieu” in to color

v Drag “Nhan Hieu” in to size

v Drag others needed in to detail

Internal Use Only 36


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

4.4.1.5. Adding filter

v Drag fields in to Filters and add filter to the left

Internal Use Only 37


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

4.4.1.6. Editing note and popup

v Edit note to be getting data from right one

4.4.1.7. Calculate TOTAL and PERCENT

Internal Use Only 38


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

4.4.1.8. Editing map

v Add map from Mapbox, as referred from steps of 3.1 above

4.4.1.9. Add to dashboard

4.4.1.10. Export to Tableau server/online

Internal Use Only 39


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

4.4.1.11. Test the result from server/online

5. Tableau using notes

v Backup everything after editing work

v First loading data should be slow (2-10 minutes for 700-50k records)

v Data appears on charts should be double checked

THE END

Internal Use Only 40


TABLEAU FOR HVN GUIDELINE VERSION: 1.0

Appendix

List here all relevant references like error codes, functional code tables, FAQ
(Frequently-asked-questions) or trouble-shooting guide...

Internal Use Only 41

You might also like