This question is Part 6 of our free series of questions along with step by step video and Text based solutions for Tableau Certification Exam Question Dumps including Tableau Desktop Specialist Certification Exam Dumps and Tableau Desktop Certified Associate Exam Dumps. You will see similar questions in both above mentioned certification exams. In Specialist Exam you can expect 8 to 10 scenario based questions where as in Associate exam, it’s almost double. We strongly recommend to have a walk through such material before your real exam. All data sources used in these questions are available in Data Source Page at our website Menu.
Use SPCL_Sample-Superstore-Subset Excel File and using Orders sheets,Find the product sub category having the lowest sales across all years in the same product sub category
Apparently this question looks very simple, but there is a little catch in this question that they have asked to find the lowest sales of product sub category across all the years. We can achieve result by using Rank function of Quick Table Calculations.
Note: if you want to practice this question on your PC, you can download the data source from data sources page from our website menu.
Rank is a very useful feature to identify the desired result from a big range of values. There are different type of Rank functions and its competitions available in Tableau. In order to learn how Rank works in Quick Table calculations, you can continue your learning journey and can read the following article from Tableau knowledge base.
It will open a new blank workbook like following
Click on Connect to data
From following screen click the Excel data source option.
It will ask the location for the data source available on the system, select the correct data source file and load it, Once you select the excel data source file from your local PC, it will be loaded in the Tableau and will look like as following
Select Orders Sheet and drop in the data pane
Its data will be visible and will look like this
Click on the sheet icon to create a new sheet as shown below
New Sheet will open like this
Click the Order Date and drag it to columns shelf
Sheet will look like this
Select the sales measure and put it on the Text as shown below
It will show the sales across years
Now select Product Sub Category and drag it to Rows Shelf
Now the sheet is showing the sales across product sub category across all available years
Now select the Sales measure and select the Rank function from the Quick Table Calculations as shown below
Data sheet will look like this
In order to understand it more clearly, let’s put sales measure on Text
Sheet will look like this
Let us now observe any one product sub category and understand the behavior. If you just focus on the data of Office Machines, we see that Rank is computed across product categories and following points can be observed
Rank is 1 for highest sales value across all years for product category for office machines.
Rank is 4 for lowest sales value across all years for product category for office machines.
This behavior of Rank is controlled by its default properties which we can be seen from the following navigation as shown below
It shows following default properties, you can try different options of Rank and learn more about using different values of Rank competition
Now let us remove the Sales from the Marks Pane, keeping only Sales Quick Table Calculations in the Marks pane as shown below
We can see very clearly that there is only one product sub category (Bookcases) which has Rank Value 4 (Lowest Sales across all years for that product sub category) in our last year which is year 2013.
As highlighted in the above screenshot that Bookcases is the only product sub category which has lowest sales in last year (2013) else all product sub categories have got increase in sales figures across years.
If you have any question, feel free to mail us or send whats app message.
We are just one message away from you, We answer every query, Feel free to get in touch.