Skip to content

Commit 522f389

Browse files
authored
Update docs with segmentation limits (#1844)
* Segmentation Limit Image * Add section on segmentation limits and ordering
1 parent 55f3422 commit 522f389

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

pages/docs/reports.mdx

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,3 +247,59 @@ Or alternatively, if you'd like to see the exact numeric values you can typecast
247247
This is a period of continuous user activity. Use Sessions in Mixpanel to track which events users perform within a session, how many sessions contained a key action or how many sessions it takes for a user to convert in a funnel. [Learn more](/docs/features/sessions).
248248

249249
![/Screen_Shot_2022-07-11_at_3.27.25_PM.png](/Screen_Shot_2022-07-11_at_3.27.25_PM.png)
250+
251+
## Segment Limits and Ordering
252+
253+
In order to keep the interactive analysis experience snappy for projects of all sizes, Mixpanel limits how many segments are returned when using breakdowns. When breakdown (also referred to as segmentation) limits are reached, the response will be truncated to only return the top N segments. We have higher limits available via CSV exports.
254+
255+
### **UI**
256+
257+
Here’s the breakdown per report visualization type:
258+
259+
| **Report Viz** | **Default Selection** | **Selection Limit** | **Visible Limit** |
260+
| --- | --- | --- | --- |
261+
| Insights (table) | 12 | 3000 | 3000 |
262+
| Insights (bar) | 12 | 300 | 3000 |
263+
| Insights (line & pie) | 12 | 50 | 3000 |
264+
| Insights (metric, column) | 6 | 12 | 3000 |
265+
| Retention | 6 | 12 | 200 |
266+
| Funnels | 6 | 12 | 200 |
267+
268+
### **CSV Export**
269+
270+
When exporting a report as CSV, we offer elevated limits. For most reports, the CSV export limit is 10,000. For insights non-line charts, we allow for up-to 50,000.
271+
272+
### **Top Segments logic**
273+
274+
The way we pick the top segments differs according to the type of query. We choose the top segments based on the value shown in the metric value column.
275+
276+
| **Query type** | **How we select top segments** |
277+
| --- | --- |
278+
| Total | Total number of occurrences of the chosen event |
279+
| Unique | Number of unique users who performed the chosen event |
280+
| Sum of property values | Sum of the chosen property |
281+
| Min/max of property values | Lowest/highest value of the chosen property |
282+
| Average | Number of events (or users) that contribute to the average |
283+
| Median/Percentile/Distribution | Number of events (or users) that contribute to the distribution |
284+
| Distinct count | Number of distinct values of the chosen property |
285+
| DAU/WAU/MAU | Number of unique users |
286+
| Sessions | Number of sessions that contain the chosen event |
287+
| Funnels | Total number of times the first funnel step was completed |
288+
| Retention | Total number of times the first event was completed |
289+
290+
### Multi-metric and formula reports
291+
292+
Since our top N logic is determined per metric, multi-metric and formula reports that have breakdowns that exceed segment cardinality limits may experience a few awkward edge cases where the different metrics’ top N segments are misaligned. We highly recommend using filters to bring your segment count under our cardinality limit to ensure the same segments are selected across metrics - ensuring formula accuracy and a more user friendly report viewing experience. You may also wish to use CSV exports for these cases.
293+
294+
### Multi-breakdown reports
295+
296+
For multi-segmentation or multi-breakdowns, we define top N segments based on the top N flattened segments, which is the combination of the individual segment values across all breakdowns. For example, for a breakdown by Country and Browser, we treat “United States/Chrome” as one flattened segment for the purpose of our segmentation limits.
297+
298+
### How will I know if my results are being truncated?
299+
300+
You will see a banner at the top of your report indicating that results were truncated, what limit was applied and what CSV export limit is available.
301+
302+
![image](/Segment_limits.png)
303+
304+
305+

public/Segment_limits.png

46.2 KB
Loading

0 commit comments

Comments
 (0)