Sort Dashboard Components by Groups and Measures
We overhauled sorting in dashboard components and improved how
components sort data. Instead of choosing to sort by label or value, you can sort by a named
group or measure. Plus, dashboard components now support two-level sorting. So you can sort a
component by stage and then by sum of amount, or by average age and then record
count.
Where: This change applies to Lightning Experience in Group, Essentials, Professional, Enterprise, Performance, Unlimited, and Developer editions.
How: To sort data in a dashboard component, edit the dashboard component.
To set the first-level sorting behavior, choose an eligible group or measure from the Sort By
dropdown (1). Don't see the group or measure that you want to sort by? Make sure it's in the
component. Click the arrow icon to change the sort direction between ascending
(
) and descending (
) (2). To set second-level sorting behavior, choose an eligible group or
measure from the Then Sort By dropdown.

