Loading

How To Sort Data Source Using Tableau Prep

Publiseringsdato: Feb 19, 2026
Beskrivelse

How to sort data source using Tableau Prep?

Cause

This feature is not built in Tableau Prep Builder yet.
Løsning
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.
Knowledge-artikkelnummer

001474910

Vedlegg

Flow1.tflx

981 KB

 
Laster
Salesforce Help | Article