Tableau Practical-yashKamble
Tableau Practical-yashKamble
Q.1. Create a story for profit zone with the sectors in United States. (use superstore
dataset)
Step-1: Connect Tableau with Superstore Database by Clicking on Microsoft Excel file Type.
Step-2: After Opening the database, create a story layout by clicking on the Story tab, then New Story
option.
• For the story we have to create multiple work sheets to represent in our story.
• To create a work sheet tap on the insert worksheet icon and create a new worksheet.
• In this example I have created a worksheet with the name “Segment wise Sales”
Step-4:In the Segment wise sales worksheet, Insert the following date:
Step-5: Repeat Step-3 but this time set name as “Category wise Sales.” In the Category wise sales
worksheet, Insert the following date:
Step-6: Insert another Worksheet to implement Bar Chart Diagram for Month Wise Sales.
In the Category wise sales worksheet, Insert the following date:
• The Chart Represents month wise data for this we need to create a parameter named
Parameter.
• And Two Calculated Fields named as Time and Parameter 1
• By doing so, we can customized the data in weeks/Months/Quarter/Year wise data, from
the Left side parameter column.
• Insert Sales in Rows section.
• And both the parameter in the columns section.
Step-7: Create a Dash Board by clicking Dashboard icon in the bottom of the screen.
Insert the created worksheets in the dash board by Drag and Drop method.
In size section select “Automatic”.
Arrange the worksheets according to your need.
Step-8: We have Already created the story layout in Step-2 so now we just need to add the sheets we have
created on the Story.
We Can add Various captions according to our need. And make our story more creative by adding text
box in various places. This concludes the creation of story in Tableau.
Q.2 - Create a Heat Map with 1 dimension and 3 rows, assignment of tooltip end (use
superstore database).
Step-1:
Connect Tableau with the Superstore Database.
Step-2:
Step-3:
Insertion of ToolTip in Heat Map:
• The Tool Tip will be Shown when a user hovers over a Box.
• To Customize the Heat Map user can click on the Color Section of Marks.
Q.3 - Create a Bar Chart with 1 dimension and 2 rows, assignment of tooltip end with
“Created by: Your Name”.
Step-1:
Connect Tableau with the Superstore Database.
Step-2:
Having 2 inputs in the rows sections will give 2 separate bar chart.
We can combine those by chaining the type of Bar.
For that, Click on the “Show Me” section of the windows, in that select “side-byside bars” that will give a
combine bar chart of the 2 entries.
• To get an World Indicator Database Visit the World Bank Data Website:
data.worldbank.org
• Take any database with preferred data type.
• I have taken World data base for income/ per capita GDP.
• Then import those database in your Tableau.
• For scatter plot it requires minimum 2 measures.
• Thus we have taken CNT and Measure values in the columns and rows.
• Then Tableau will auto-generate the scatter plot.
• User can customize the scatter plot by using Various marks.
Q.5- Find the total sales value from customer who made their first purchase in 2014.Use
Superstore Database.
Step-2: For finding the total sales we need to create a calculated field.
With code as: SUM(IF YEAR([Order Date]) = 2014 THEN [Sales] END)
The above chart represents the total amount of sales made in 2014.
In which Corporate segment had made most amount of sales, followed by small Business.
• Here, I have created a bar chart which gives information about sales made in different categories.
• I have to group stationary items, then I have to go-through the following steps.
• Then select all the required items and name the group as “Stationary Items.”
• After creating the chart, we need to select the part which we want to include in the set.
• Then hover the mouse on that selected area, after some time a window will appear where we can
select the option of “Create Set”
• After clicking on create set, change the name of set and apply it to the database.
Then we need to drag and drop the set in the color section of marks,
Thus creating the below output.