Bird
Raised Fist0
Tableaubi_tool~8 mins

Ascending and descending sort in Tableau - Dashboard Guide

Choose your learning style10 modes available
Dashboard Mode - Ascending and descending sort
Goal

See sales data sorted by product name and sales amount in ascending and descending order to find top and bottom performers easily.

Sample Data
ProductCategorySales
NotebookStationery150
PenStationery300
Desk ChairFurniture450
MonitorElectronics700
MouseElectronics350
StaplerStationery120
Desk LampFurniture200
Dashboard Components
  • KPI Card: Total Sales
    Formula: SUM([Sales])
    Result: 2270
  • Bar Chart 1: Sales by Product (Ascending)
    Sorted by Sales ascending
    Shows products from lowest to highest sales
  • Bar Chart 2: Sales by Product (Descending)
    Sorted by Sales descending
    Shows products from highest to lowest sales
  • Table: Product Sales Details
    Columns: Product, Category, Sales
    Default sort: Product name ascending (A to Z)
Dashboard Layout
+----------------------+--------------------------+
|      Total Sales      | Sales by Product (Asc)   |
|       (KPI Card)      | (Bar Chart 1)            |
+----------------------+--------------------------+
| Sales by Product (Desc) Bar Chart 2               |
+--------------------------------------------------+
| Product Sales Details Table                        |
+--------------------------------------------------+
Interactivity

Sorting is controlled by clicking on the axis or header in Tableau:

  • Click on the Sales axis in Bar Chart 1 to toggle ascending/descending sort.
  • Click on the Sales axis in Bar Chart 2 to toggle descending/ascending sort.
  • Click on the Product column header in the table to sort alphabetically ascending or descending.
  • All components update their sort order independently based on user clicks.
Self Check

Add a filter for Category = 'Stationery'. Which components update and how?

  • The KPI card updates total sales to 570 (150 + 300 + 120).
  • Both bar charts update to show only Stationery products sorted ascending and descending by sales.
  • The table updates to show only Stationery products sorted by product name ascending.
Key Result
Dashboard showing total sales and product sales sorted ascending and descending with interactive sorting and filtering.

Practice

(1/5)
1. In Tableau, what does sorting data in ascending order do?
easy
A. It arranges data from smallest to largest values.
B. It arranges data from largest to smallest values.
C. It groups data by categories alphabetically.
D. It filters out duplicate data points.

Solution

  1. Step 1: Understand ascending sort meaning

    Ascending order means arranging values starting from the smallest and going to the largest.
  2. Step 2: Apply to Tableau sorting

    In Tableau, sorting ascending will show data from smallest to largest values.
  3. Final Answer:

    It arranges data from smallest to largest values. -> Option A
  4. Quick Check:

    Ascending = smallest to largest [OK]
Hint: Ascending means smallest to largest values [OK]
Common Mistakes:
  • Confusing ascending with descending order
  • Thinking sorting filters data
  • Assuming sorting groups data instead
2. Which of the following is the correct way to sort a field in descending order in Tableau?
easy
A. Click the field header once to toggle descending sort.
B. Use the Sort menu and choose 'Descending'.
C. Right-click the field header and select 'Sort Ascending'.
D. Drag the field to the Filters shelf.

Solution

  1. Step 1: Identify sorting options in Tableau

    Tableau allows sorting via the Sort menu where you can explicitly choose ascending or descending.
  2. Step 2: Confirm descending sort method

    Choosing 'Descending' in the Sort menu correctly sorts data from largest to smallest.
  3. Final Answer:

    Use the Sort menu and choose 'Descending'. -> Option B
  4. Quick Check:

    Sort menu + Descending = correct method [OK]
Hint: Use Sort menu for clear ascending/descending choice [OK]
Common Mistakes:
  • Clicking field header once only sorts ascending
  • Dragging fields to Filters shelf does not sort
  • Selecting 'Sort Ascending' sorts opposite order
3. Given a Tableau bar chart sorted descending by Sales, what will be the order of bars if Sales values are: 100, 250, 50, 300?
medium
A. 300, 250, 100, 50
B. 250, 300, 100, 50
C. 100, 50, 250, 300
D. 50, 100, 250, 300

Solution

  1. Step 1: Understand descending sort order

    Descending order arranges values from largest to smallest.
  2. Step 2: Sort given Sales values descending

    Values sorted descending: 300, 250, 100, 50.
  3. Final Answer:

    300, 250, 100, 50 -> Option A
  4. Quick Check:

    Descending sort = largest to smallest [OK]
Hint: Descending means largest value first [OK]
Common Mistakes:
  • Sorting ascending instead of descending
  • Mixing up order of values
  • Assuming default order is alphabetical
4. You tried to sort a dimension in Tableau descending but the data still appears ascending. What is the likely cause?
medium
A. Tableau does not support descending sort on dimensions.
B. The data source is corrupted and cannot sort.
C. You applied sorting on a measure instead of a dimension.
D. You clicked 'Sort Ascending' instead of 'Sort Descending'.

Solution

  1. Step 1: Check sorting action performed

    Clicking 'Sort Ascending' will keep data in ascending order, not descending.
  2. Step 2: Verify Tableau sorting capabilities

    Tableau supports descending sort on dimensions; data source corruption is unlikely cause.
  3. Final Answer:

    You clicked 'Sort Ascending' instead of 'Sort Descending'. -> Option D
  4. Quick Check:

    Wrong sort direction clicked = ascending shown [OK]
Hint: Double-check sort direction clicked in Tableau [OK]
Common Mistakes:
  • Assuming Tableau can't sort dimensions descending
  • Blaming data source without checking sort settings
  • Sorting measure instead of dimension by mistake
5. You have a sales report with Product Categories and Sales. You want to show the top 3 categories by sales in descending order. Which steps should you follow in Tableau?
hard
A. Sort Product Categories ascending by Sales, then filter top 3.
B. Sort Product Categories descending by Sales, then filter top 3.
C. Filter top 3 Product Categories by Sales, then sort descending by Sales.
D. Filter top 3 Product Categories by Sales, then sort ascending by Sales.

Solution

  1. Step 1: Filter top 3 Product Categories by Sales

    Apply a filter to keep only the top 3 categories based on Sales values.
  2. Step 2: Sort the filtered categories descending by Sales

    Sort these top 3 categories so the highest sales appear first.
  3. Final Answer:

    Filter top 3 Product Categories by Sales, then sort descending by Sales. -> Option C
  4. Quick Check:

    Filter top 3 first, then descending sort [OK]
Hint: Filter top 3 first, then sort descending [OK]
Common Mistakes:
  • Sorting before filtering top 3
  • Sorting ascending instead of descending
  • Filtering after sorting ascending
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard