title | redirect_from | |
---|---|---|
Events and timelines |
|
A lot of discussions around data have a moment when someone asks a question related to a specific point in time: "Wait, what's the spike in March again?", or "When did the new widget launch?"
Events and timelines are a way to capture that chronological knowledge and make it available when you need it, in context (that is, when you're viewing a chart). Events are a great way to store institutional knowledge about what happened and when, so people (including yourself three months from now) won't have to figure out (again) why the line chart spiked back in March.
An event is basically a date + a title + a description + an icon. You can add events to Metabase to show important milestones, launches, or anything else, right alongside your data.
Metabase will only display events on time series charts when viewing an individual question. Metabase won't display events on charts in dashboard cards.
Timelines are groups of events associated with a collection.
For example, you may want to have a timeline that contains important email or sales dates, or an outages timeline that tracks downtime. You can move events between timelines, and move timelines from collection to collection.
Collections can have timelines, and timelines can contain events. In practice what this means is that events you've added to a timeline will show up on time series questions stored in the same collection as that timeline.
When viewing a collection, you can view, add, or edit events by clicking on the calendar icon in the upper right.
Once you create an event, the event will show up in charts in the collection, provided:
You'll see an icon along the x-axis that plots the event. A vertical line will extend from the event to show when the data plotted on the chart intersects with the event.
If your question is a time series, you can click on the Calendar in the bottom right of the question, and Metabase will open the timeline sidebar. Metabase will list any timelines and their events that fall in the range of your time series. You can:
If you're viewing a question with a time series chart from a different collection, you can temporarily apply a timeline to the chart by clicking on the calendar icon in the bottom right of the question and selecting the timeline and events you want to display.
These selections are temporary; if you reload the question, Metabase will drop the events from the chart.
To temporarily hide the events from a chart:
Your selections will reset on reload.
To permanently hide the timeline and its events, you'll need to archive the timeline. Alternatively, you could move the question to a different collection.
To edit an event:
To archive a timeline:
Archived events and timelines can only be viewed from the collection. They don't show up in the Trash.
To view (and resurrect) archived timelines and events:
To permanently delete an archived event or timeline, click on the three-dot menu (...) and select Delete.
Then you can delete the archived events from the View archived events modal, or timelines from the View archived timelines modal.
Event and timeline permissions depend on your collection permissions.
If you want the event and timeline to be available to everyone, create the timeline in a collection that the All Users group has access to, as by default everyone is in the All Users group.
Note that for questions outside of that collection, you can only temporarily apply those timelines to charts. The timelines won't appear automatically when you reload the chart.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )