Open In App
Related Articles

Sorting by Data Source order in Visualization in Tableau

Improve Article
Save Article
Like Article

In this article, we will learn how to sort the visualization by Data source order in tableau worksheet to do further operations. For this first look into three terms:

  • Tableau: Tableau is a very powerful data visualization tool that can be used by data analysts, scientists, statisticians, etc. to visualize the data and get a clear opinion based on the data analysis. Tableau is very famous as it can take in data and produce the required data visualization output in a very short time.
  • Sorting: Sorting is any process of arranging items systematically and has two common, yet distinct meanings: ordering: arranging items in a sequence ordered by some criterion; categorizing: grouping items with similar properties.
  • Visualization: Data visualization is the technique used to deliver insights in data using visual cues such as graphs, charts, maps, and many others. This is useful as it helps in intuitive and easy understanding of the large quantities of data and thereby make better decisions regarding it.

Dataset used in the given examples is Dataset.

For this we have to follow some steps :

Open the Tableau tool and connect a dataset into it. Drag and drop the one sheet of the connected dataset. Click on sheet1 to open the tableau worksheet. On clicking Sheet1 you will get whole dataset attributes on the left side and a worksheet for work.

Draw a graph to visualize the data and then apply the sorting technique.

Here, the visualization part is sorted according to the Data Source Order in which two orders are given :

  • Ascending Order: The data is arranged as given in the dataset i.e; first come first serve. 
  • Descending Order: The data is arranged as opposed to the Ascending Order i.e; first come last serve.

Example 1:

Example 2:

  • Normal view :

  • Ascending View :

  • Descending View :

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 01 Oct, 2020
Like Article
Save Article
Similar Reads