0% found this document useful (0 votes)
25 views10 pages

Import Sample Superstore Excel File To Tableau: Program 8 Consider The Superstore Dataset

1) Find the top 10 sales for the current year, previous year, previous quarter, and previous month by filtering the order_date field and selecting the top 10 sales. 2) Write a query to find the sales for consumer and corporate segments for orders between 2015-2019 by filtering the segment field for those segments only. 3) Find the maximum discount for all products in the south and central regions for 2015 and 2017 by filtering the region, year, and applying a maximum filter to discount.

Uploaded by

Harshith Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views10 pages

Import Sample Superstore Excel File To Tableau: Program 8 Consider The Superstore Dataset

1) Find the top 10 sales for the current year, previous year, previous quarter, and previous month by filtering the order_date field and selecting the top 10 sales. 2) Write a query to find the sales for consumer and corporate segments for orders between 2015-2019 by filtering the segment field for those segments only. 3) Find the maximum discount for all products in the south and central regions for 2015 and 2017 by filtering the region, year, and applying a maximum filter to discount.

Uploaded by

Harshith Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

PROGRAM 8

Consider the superstore dataset


Import sample superstore excel file to tableau

1) Write a query to find the Top 10 sales for the current year, previous year, previous quarter,
and previous month.
Apply filter to order_date field by selecting previous 2 years
Apply filter to the order_date field by selecting the previous quarter

To select the top 10 sales click on the “By Field option” and select the top 10 of sales option
from the combo box and click ok
2) Write a query to find the sales for consumer & corporate segment for order between 2015 –
2019

Filtering the segment field for only consumer and corporate segment
3) Write a query to find the maximum discount for all the products in the region south and
central for the year 2015 & 2017
Fields which are selected Region, Product name, Year (2015 and 2017) and discount
Applying the filter on the region by selecting south and central region
4) Write a query to find the bottom 10 profit by Country, State & City
Fields which are selected Country, City State(USA) and Profit
5) Demonstrate the visualization for profit percentage by region

Fields which are selected from dataset Country, City and Profit

Filtering the profit field by selecting the percentage (75) from the measures option

Profit percentage of the different region

You might also like