Sorting & Analytics Pane in Tableau: A Road to Tableau Desktop Specialist Certification
Last Updated on May 9, 2022 by Editorial Team
Author(s): Daksh Trehan
Originally published on Towards AI the World’s Leading AI and Technology News and Media Company. If you are building an AI-related product or service, we invite you to consider becoming an AI sponsor. At Towards AI, we help scale AI and technology startups. Let us help you unleash your technology to the masses.
Tableau, Data Science, BI, Data Analytics
Chapter 10: A comprehensive guide on Sorting & Analytics Pane in Tableau with Sample Certification questions and free UdemyΒ dumps.
Welcome to the tenth chapter, In this piece, we are going to learn about Sorting and Analytics Pane inΒ Tableau.
If you want to navigate through other chapters, visit: Tableau: What it is? Why it is the best?; A road to Tableau Desktop Specialist Certification.
If you want to directly go on Tableau Desktop Specialist notes, access them here β https://dakshtrehan.notion.site/Tableau-Notes-c13fceda97b94bda940edbf6751cf30
Use the link to get access to free Tableau certification dumps (Valid till 20 MayΒ 2022):
Table ofΒ Content
- Sorting
β Quick Sort(From Axis, Header, or Field Label)
β Authoring Sort(From Toolbar, Drag & Drop)
β ClearingΒ Sort - Analytics Pane
β Constant Line
β Average Line
β Median with Quartiles
β Box Plots
β Totals
β Average with 95% CL
β Median with 95% CL
β Trend Line
β Forecast
β Reference Line
β Reference Band
β Distribution Band - Sample Certification Questions from thisΒ Topic
Sorting
Sorting is done on dimensions only.
Nested Sorting β A nested sort will assume each pane acts independently and sorts the row per pane. It is useful when we want to sort within a category of items. They donβt convey the aggregated information about how the values compareΒ overall.
Quick Sort
- From anΒ Axis
To sort the data from an axis, simply hover over the axis and choose the sortΒ option.
Sorting from an axis gives a nested sort byΒ default.
Observe the sort option near axis Earnings($ Million) and click on that to sort theΒ view.
Single-click to sort in ascending order, double-click to sort in descending order and triple-click to get the defaultΒ order.
- From Header
To sort the data by header, simply hover on the header and choose the sortΒ option.
- From FieldΒ Label
To sort from the field label, simply hover on the field label and choose the field on which you want to sort theΒ view.
Sorting from Field Label gives us non-nested sorting byΒ default.
Authoring Sort
- From theΒ toolbar
We can either sort in ascending or descending order from theΒ toolbar.
Sorting from a Toolbar gives a nested sort byΒ default
- By Dragging &Β Dropping
To manually sort, we can drag the field and drop it anywhere weΒ want.
The heavy black line will indicate where the dragged field wouldΒ be.
Once we manually sort the data, the order wonβt change even if we refresh ourΒ data.
Enabling any other type of sort (Field, alphabetic, or Nested) clears the manual sort weΒ create.
- Specified FieldΒ Sort
To sort the field by specified field, simply right-click on the fieldΒ label.
We can choose to sort in the following ways.
- Data Source OrderβββIt will sort the data in the way, the data is originally sorted in ourΒ dataset.
- AlphabeticβββIt will alphabetically sort the fields, either A-Z orΒ Z-A.
- FieldβββIt will let you sort the data on basis of a particular field. The field doesnβt need to be present in the view/viz.
- ManualβββIt will let you create a custom sortingΒ order.
Clearing Sorts
To clear the sorts, we have twoΒ options:
- Worksheet > ClearΒ >Sorts
2. To clear specified sorts on the field, right-click on the field and choose βClearΒ Sortβ.
We can also disable all the sorts, Worksheet>Show Sort Controls.
Analytics Pane
We can add Analytics objects from Analytics Pane that could be availed from theΒ view.
Analytics Pane offers drag-and-drop functionality to add analytics objects such as box plots, constant lines, and average lines in theΒ view.
The scope of Analytics objects could be defined for either Table, pane, or aΒ cell.
Tableau offers the following Analytics objects:
We can edit any Analytics object by right-clicking and choosing βFormatβ.
Constant Line
It lets you add a constant line to the viz. A constant line can be added for some specific measures, all measures, or only date dimensions. When we try to add a constant line, Tableau lets you enter a constantΒ value.
Average Line
Tableau lets you create an Average line either for the entire table, pane or cell. The average line could only be created for some specific measure or all measures.
Median with Quartiles
A quartile segregates data into: Upper Quartile, Median, Lower Quartile. In Tableau, Median with Quartiles can be either added to Entire Table, Pane, or Cell. We can add Median with Quartiles either for some specific measures or all measures.
The lower quartile is the region that contains 25% of total data points. The upper quartile contains 75% of the total data points. Median depicts the middle value of data points when sorted in ascending/descending order.
The dark black line depicts the median and two shaded blocks representing Upper Quartile and Lower Quartile respectively.
Box Plot
Box Plots are also known as Box-and-Whisker Plots.
The scope of the box plot is alwaysΒ cell.
Box plots are required to check if data have any outliers.
The Box plot can be created for some specific measures or all measures.
Box Plots can either be made through Analytics Pane or Show MeΒ Pane.
A box plot requires a Dimension on the Column shelf and a Measure on the RowΒ shelf.
Upper Whisker and Lower Whisker denote Maximum and Minimum Value respectively.
Upper Hinge and Lower Hinge denote Upper Quartile(75% of data points lie here) and Lower Quartile(25% of data points lie here) respectively.
Median denotes the middle value of data when sorted in ascending/descending order.
Totals
This option allows us to add totals to the view, depending on the data points we can choose from Subtotals, Column Grand Totals, and Row GrandΒ Totals.
After choosing the required view, we get results likeΒ this.
Average with 95%Β CLI
This adds an average line with a distribution band in the view. The distribution bands are configured to show a 95% confidence interval i.e. the average population will lie in this band 95% of theΒ time.
This could be either added for a specific measure or all the measures.
The scope could be defined either for the table, pane, or aΒ cell.
Median with 95%Β CLI
This adds a median line with a distribution band in the view. The distribution bands are configured to show a 95% confidence interval i.e. the median population will lie in this band 95% of theΒ time.
This could be either added for a specific measure or all the measures.
The scope could be defined either for the table, pane, or aΒ cell.
Trend Lines
To add a trend line, both row and column shelves must contain continuous data.
A trend line requires 2 measures on opposing axes, or a date and a measure on opposingΒ axes.
We can add a trend line to the scatterΒ plot.
There are 5 types of trend lines inΒ Tableau:
Linear TrendΒ Line
Y = b0 +Β b1*x
where b0 is slope, b1 is intercept.
Logarithmic TrendΒ Line
Y = b0 +Β b1*ln(x)
Exponential TrendΒ Line
Y = exp(b0) * exp(b1*x)
Power TrendΒ Line
Y = b0 *Β (x^b1)
Polynomial TrendΒ Line
Y = b0 + b1*x +Β b2*xΒ²
Right-click on the trend line to either edit or describeΒ it.
Forecast
Forecasting can be done for at least one date dimension and one measure in theΒ view.
Forecasting is only supported on Tableau Desktop and is not valid on multidimensional data.
We canβt use Forecasting in the view if it contains any ofΒ them:
- Table calculations
- Disaggregated measures
- Percent calculations
- Grand Totals or Subtotals
- Date values with aggregation set to ExactΒ Date
We can edit the forecast or ask for its description, by right-clicking on the forecasted line.
When we increase our precision in forecasting, the range is increased.
Reference Line, Reference Band, Distribution Band, BoxΒ Plot
We can create custom Reference Line, Reference bands, Distribution bands, and BoxΒ Plots.
We can add a reference line to the scatterΒ plot.
A Reference Band can be based on two fixedΒ points.
A Reference Distribution plot can be along a continuous axis.
The scope for Reference Line, Reference Band, Distribution Plot is either the Table, Pane, or aΒ cell.
The Box plot can only be defined on aΒ cell.
Sample Certification Questions from thisΒ Topic
Sorting from field label gives ______ sort by default.
a. Nested
b. Non-Nested
c. Manual
d. Data SourceΒ order
Solution: Non-nested
Percentile is available both in aggregation and calculation?
a. True
b.Β False
Solution: True
Totals can be done either through? [Choose 2]
a. Analytics Pane
b. Worksheet Menu
c. Analysis Menu
d. Right-clicking in theΒ view.
Solution: Analytics Pane, AnalysisΒ Menu
Which is not a valid Table Calculation?
a. Difference From
b. Rank
c. Percentile
d. Difference ofΒ Total
Solution: Difference inΒ Total
Sorting can only be done on dimensions?
a. True
b.Β False
Solution: True
Use the link to get access to free Tableau certification dumps (Valid till 20 MayΒ 2022):
References:
[1] Tableau Help | TableauΒ Software
[2] PersonalΒ Notes
[3]Tableau Desktop Specialist Exam (New Patternβββ2021)βββApisero
Thanks forΒ Reading!
Feel free to give claps so I know how helpful this post was for you, and share it on your social networks, this would be very helpful forΒ me.
If you like this article and want to learn more about Machine Learning, Data Science, Python, BI. Please consider subscribing to my newsletter:
Find me on Web: www.dakshtrehan.com
Connect with me at LinkedIn: www.linkedin.com/in/dakshtrehan
Read my Tech blogs: www.dakshtrehan.medium.com
Connect with me at Instagram: www.instagram.com/_daksh_trehan_
Want to learnΒ more?
How is YouTube using AI to recommend videos?
Detecting COVID-19 Using Deep Learning
The Inescapable AI Algorithm: TikTok
GPT-3 Explained to a 5-year-old.
Tinder+AI: A perfect Matchmaking?
An insiderβs guide to Cartoonization using Machine Learning
How Google made βHum to Search?β
One-line Magical code to perform EDA!
Give me 5-minutes, Iβll give you a DeepFake!
Cheers
Sorting & Analytics Pane in Tableau: A Road to Tableau Desktop Specialist Certification was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.
Join thousands of data leaders on the AI newsletter. Itβs free, we donβt spam, and we never share your email address. Keep up to date with the latest work in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.
Published via Towards AI