Skip to content
Back to Native library

Sorting

Native configuration

Column header sorting with ascending/descending state and a defined default.

Working example
Sort
Active sort state: Employee A–Z (default is Employee A–Z)
EmployeeDepartmentDateHoursPerformance
Anna MeijerIT2026-03-2037.1 h96%
Anna VisserOperations2026-03-0229.8 h95%
Bram HendriksIT2026-02-2131.1 h85%
Bram VosOperations2026-02-0730.0 h81%
Carla JansenOperations2026-02-0835.8 h78%
Carla VisserIT2026-02-0633.2 h67%
Daan MulderOperations2026-02-2437.3 h93%
Eva DekkerOperations2026-03-1837.0 h82%
Native

Header click sorts one column, ascending or descending.

Configurable

Saved default sort, sort-by-column, locked sorting.

UX specification

Which column, which direction, and how the state is shown.

BI implementation

Set and publish the sort; model sort-by-column for text order.

The buttons above are a prototype control. In Power BI the user sorts by clicking the column header — there is no sort toolbar.

What it is

Users sort a table or matrix by clicking a column header; the report defines the initial sort order.

When to use it

Always — every table needs an explicit, intentional default sort.

Native Power BI capability

Yes. Single-column sort by header click; 'Sort by column' in the model controls text ordering (for example month names).

UX considerations
  • Name the default sort column and direction in the specification.
  • Show the active sort state clearly; the arrow alone is easy to miss on dense tables.
  • Do not design multi-column sort chips — Power BI sorts by one column at a time.
BI developer considerations
  • Set the sort in the visual before publishing; it is saved with the report.
  • Use 'Sort by column' for non-alphabetical text ordering.
  • Lock sorting via the visual header settings when the order is analytically meaningful.
QA considerations
  • First load uses the defined default sort.
  • Sorting a measure column sorts on the measure value, not the formatted string.
Limitations
  • One sort column at a time in a standard table visual.
  • Sort state is per-session and is not shared between users unless bookmarked.
HTML prototype note

This interactive HTML example simulates the native Power BI behaviour. It is not Power BI itself and should not be interpreted as an implementation of the Power BI rendering engine.

Designer ↔ BI developer handoff
UX designer defines
  • Information hierarchy and column order
  • Required fields and measures
  • Default state (sort, filters, selection)
  • Interaction intent and what it should affect
  • Responsive priority and what may be dropped
  • Accessibility expectations and focus order
  • Empty, loading and error states
BI developer implements
  • Dataset fields, measures and relationships
  • Visual configuration in the format pane
  • Filters, sort order and interaction wiring
  • Drill-through / drill-down configuration
  • Conditional formatting rules
  • Row-level security and permissions
  • Query performance optimisation
QA validates
  • Data correctness against the source
  • Correct default state on first load
  • Sorting and filtering behaviour
  • Drill and selection behaviour
  • Permissions and row-level security
  • Empty states and responsive layout
  • Performance and export behaviour
More in Tables & data