Loading

How To Sort Data Source Using Tableau Prep

Date de publication: Feb 19, 2026
Description

How to sort data source using Tableau Prep?

Cause

This feature is not built in Tableau Prep Builder yet.
Résolution
Sorting is possible by using the RANK function.

In the following example, you want to sort the Orders sheet by sales order.
1. Connect to Sample -Superstore.
2. Drag Sheet 'Orders' canvas.
3. Add Clean Step.
4. Create a Calculated Field as following setting.
      Name : Rank
      Calculation :{ ORDERBY [Sales] DESC : RANK() }

You will see that they are sorted in descending order by Sales.
Numéro d’article de la base de connaissances

001474910

Pièces jointes

Flow1.tflx

981 KB

 
Chargement
Salesforce Help | Article