Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Take our 85+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

Publication

Sorting & Analytics Pane in Tableau: A Road to Tableau Desktop Specialist Certification
Latest

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):

https://www.udemy.com/course/tableau-desktop-specialist-certification-dumps-2022/?couponCode=1FA58837A74561DC1EFB

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.

Source: Tableau Documentation
  • 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.

  1. Data Source Orderβ€Šβ€”β€ŠIt will sort the data in the way, the data is originally sorted in ourΒ dataset.
  2. Alphabeticβ€Šβ€”β€ŠIt will alphabetically sort the fields, either A-Z orΒ Z-A.
  3. 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.
  4. Manualβ€Šβ€”β€ŠIt will let you create a custom sortingΒ order.

Clearing Sorts

To clear the sorts, we have twoΒ options:

  1. 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.

Source: Tableau Documentation

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):

https://www.udemy.com/course/tableau-desktop-specialist-certification-dumps-2022/?couponCode=1FA58837A74561DC1EFB

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:

Daksh Trehan’s 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

Feedback ↓