Period, comparison and export
This page explains how to set the report period and time step, compare data with a previous period, see the details of a chart point and export users from any point to a cohort or CSV. What else the report can do — see Insights: overview.
| Your situation | What to do |
|---|---|
| You need data for the last week, month, quarter or year | Period buttons Week, Month, Quarter, Year (more) |
| You need a specific range, for example a promo from the 1st to the 14th | Calendar icon → start date → end date |
| You want to know whether things got better or worse than before | Compare button → comparison period (more) |
| The chart has too many points or you need to focus on part of the period | The slider under the chart (more) |
| You need the users behind a specific chart point — for a newsletter, retargeting or session replays | Click the point → Export to cohort or Export to CSV (more) |
Setting the time range
To show data for a specific period, choose a time range above the chart:
- Today;
- Yesterday;
- Week — 7 days;
- Month — 30 days;
- Quarter — 3 months;
- Year — a year;
- calendar icon — a custom range.
To set a custom range:
Step 1. Click the calendar icon.
Step 2. In the calendar, select the start date first, then the end date.
Time slider
There is a slider under the chart: drag its right or left end to show only part of the selected period on the chart.
The X-axis step (minute, hour, day, week, month…) and the tooltip on hover are described in Report views.
Comparison
Comparison shows data for the current period next to data for another period, so you see the metric growing or falling.
Step 1. Click Compare.
Step 2. Click the panel that appears and choose a comparison period from the list.
How the comparison is shown:
- on Lines — the previous period as a dashed line of the same color;
- on Columns — as hatched columns;
- on Cards — as the growth or drop of the metric relative to the selected period;
- in the pop-up card of a chart point — the drop percentage in red, the growth in green.
To leave comparison mode, turn off comparison in the toolbar.
Cohort export
You can export users from any chart point, column or table cell — to a cohort or to a CSV file.
Step 1. Click the chart or table element you need.
Step 2. In the window that opens, choose Export to cohort or Export to CSV.
Export to cohort — the system creates a cohort of users who match the selected chart point or table cell. You can find it in Profiles → Cohorts and then use it in filters, breakdowns and other reports.
Export to CSV — the system creates a file with a table with the columns Visitor, ProfileId, YandexId, AdvertisingId, DeviceId, Country, City.
Rows in the file may be duplicated: the system exports all possible user identifiers you may need.
How to remove duplicate rows in Excel
Step 1. Select the columns that may contain duplicates.
Step 2. On the toolbar, open the Data tab and choose Remove Duplicates.
Step 3. Excel asks which columns to check for duplicates. Select the ones you need and confirm.
Long identifiers are displayed incorrectly in Excel
By default, Excel does not display numbers longer than 11 digits correctly because of the cell format limit. There are two ways to fix it:
- Text cell format: right-click the cell → Format Cells → Number tab → Text.
- Leading single quote: when entering a long number, put a single quote character before it, for example
'1234567890123456789. Excel treats the value as text and does not convert the number.
View cohorts
Each value in a table or chart is linked to the profiles of the users behind it. Click a value in the table or a point on the chart and choose View cohorts. Unlike exporting to a cohort, this opens the profiles without creating a saved cohort.
The window has three areas:
- Profiles — users associated with the selected value. Choose a profile.
- Timeline — sessions and events for that profile. Choose an event to see its details.
- Event attributes — properties of the selected event.
Use the controls above the timeline to filter or highlight the events you want to examine.
If a session recording is available, use the play icon on the session bar, the star to mark the session as a favorite, or the comment icon to leave a note. See Session replay (RU).
FAQ
Why does the cohort have fewer users than the events at the chart point? Unique users are exported to the cohort: a user who performed several actions is counted once.
Why does one user appear in several rows of the CSV? The export is done by profile ID, and several identifiers can be linked to a profile. Remove duplicates in Excel with Data → Remove Duplicates.
Where do I find the exported cohort? In Profiles → Cohorts.
How do I turn off comparison with a previous period? Turn off comparison in the toolbar.
For which report views can I choose a time step (days, weeks, months)? For Lines, Columns, Table and Cohort table.