For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sort

Use the Sort transformation to arrange dimensions and measures in ascending or descending order.

Sorting data helps improve readability and ensures that query results appear in the order required for analysis and reporting.

Sort data

The following example sorts the Market & Geography column in ascending order.

  1. On the Transform tab, select Sort Ascending in the Sort group.

    The Sort By Ascending dialog opens.

  2. In Column Name, select Market & Geography.

  3. In Order, select Ascending.

  4. Select Apply.

After you apply the sort, the column appears in the order you specified.

In this example, the Market & Geography column appears in ascending order.

The applied sort appears in Performed Steps and applies to subsequent transformations, calculations, and reporting scenarios.

Sort data from the column menu

You can also sort data directly from a column menu without opening the Sort dialog.

  1. Open the menu for the column to sort.

  2. Select Sort ascending or Sort descending.

The column sorts immediately based on your selection.

Last updated

Was this helpful?