This article helps you:
Use the sorting logic behind Data Tables to create elegant and accurate charts
Understand when, why, and how Data Tables limit the amount of data you export
For more complex analyses, it's important to understand how Amplitude Analytics decides what results to display, as well as what happens when you sort on a given column.
Data Tables apply display limits based on your group-by configuration. These are the maximum rows shown in the table—Amplitude still processes all your data, but displays only the top results:
Amplitude applies display limits to each group-by level separately. For example, if you group by city (top-level limit: 100 rows), then add a nested group-by for email, up to 100 emails display for each city.
If your Data Table includes metrics with different display limits, the smallest limit applies to all metrics. For example, if you include both an event segmentation metric (normally 100 rows) and an attribution metric (20 rows), only 20 rows display.
Once you have these results, any sorting you do applies only to them, and doesn't bring in any new results.
For example, imagine your group-by has enough different property values that Amplitude Analytics limits the results displayed to the top 100. By default, Amplitude sorts these results in descending order. If you opt to view your results in ascending order, you don't see the “bottom 100” results instead. You still see only the same top 100 results—only their sorting order has changed.
When using multiple metrics, sorting by a particular column displays data for all columns based on the values in the sorted column. For a data table with multiple segments, multiple metrics, and a period over period comparison, sorting a period-over-period column within a metric gives you a dataset based on the first segment's current period.

When you apply group-bys to your Data Table, Amplitude ranks and prunes high-cardinality results before displaying them. The ranking method depends on the metric type in the sorted column.
When you sort a column by a single-term formula metric or any non-formula metric (like Uniques, Totals, or property aggregations), Amplitude ranks groups according to the standard group ordering logic.
For example, if you sort by Uniques, Amplitude ranks by the number of unique users. If you sort by Sum of Property Value, Amplitude ranks by the sum of property values.
When you sort a column by a formula metric with multiple terms (such as PROPSUM(A) / TOTALS(B)), Amplitude uses a different ranking approach. Instead of ranking by the final calculated formula values, Amplitude ranks by the sum of unique users across all metrics in the formula.
This ranking method is less accurate because it doesn't reflect the actual formula results. The system weights each group by unique user count, calculates each metric separately, performs the formula operation, and then orders the results.
You create a Data Table with the formula PROPSUM(A) / TOTALS(B) grouped by Country:
When ranking to determine which countries to display, Amplitude ranks Canada higher than USA because Canada has 10 users with revenue events compared to USA's 1 user. This happens even though USA's actual formula result ($40,000 / 20,000 = $2) is higher than Canada's ($10,000 / 10,000 = $1).
After Amplitude selects which countries to display based on this user-weighted ranking, the table correctly sorts them by their actual formula values.
This ranking behavior can produce unexpected results when working with high-cardinality data (many unique group-by values). Groups with high formula values but few users may not appear in your results if other groups have more users, even if those groups have lower formula values.
This behavior also applies to Event Segmentation charts with custom formulas. For more details on formula metrics, review Custom formulas in Event Segmentation.
CSV exports have different row limits than what displays in the table. Export limits depend on the metric type:
Amplitude prunes rows exceeding the limit—they don't appear in the exported CSV file.
With results queried from the Dashboard REST API, event segmentation metrics have a limit of 1000 rows. This is the only difference from the .CSV limits described in the previous section.
When you apply time properties as group-bys, all limits described above apply to each group of the property.
500 rows * three property values) display in the Data Table.300 rows * seven property values) export to your .CSV.July 2nd, 2024
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2025 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.