Power BI Timeline

Updated on January 2, 2024
Article byJeevan A Y
Edited byAshish Kumar Srivastav
Reviewed byDheeraj Vaidya, CFA, FRM

Timeline in Power BI is a type of visual or visualization technique. It is used to define data in the type of precision concerning time, such as roster or completion of any given project. It uses Gantt-style charts to display the visuals.

What is TimeLine Visual in Power BI?

Power BI timeline is a custom visual we need to download from the web. It is not a default visual available to use. In addition, it is a kind of slicer. We can use it to select multiple ranges of data values and see specific period visuals. However, timeline visuals can accept only “Date” values. Therefore, we cannot apply anything other than date values to this slicer.


You are free to use this image on your website, templates, etc, Please provide us with an attribution linkHow to Provide Attribution?Article Link to be Hyperlinked
For eg:
Source: Power BI Timeline (wallstreetmojo.com)

–>> If you want to learn Power BI professionally, then Power BI Basics Course (5+ hours) is the perfect solution. This course will introduce you to a wide range of Power BI concepts like collection of software services, apps, and connectors that work together to turn your unrelated sources of data into coherent, visually immersive, and interactive insights, Creating Reports in Power BI Desktop, Analyze Data with Excel, Graphs & Visualizations, Interactive Dashboards along with some real life examples.

How to Import Timeline Visual to Power BI?

Since timeline visual is not a built-in visual to use, we need to import from the marketplace. Click on the link below first.

Source: Power BI Timeline Slicer

It will take you to the marketplace web page. Click on “GET IT NOW.”

Slicer Link To Download

Press the “Continue” button in the next window. It will take you to “Download Page” and click on “Download for Power BI.” This Power BI custom visualPower BI Custom VisualIn Power Bi, there are some built-in visuals for data visualization, as well as some custom visuals. Custom visuals are user-defined and allow users to use their own creativity in terms of how they want to present data. For example, one can use lines and dots in a flashing and floating manner to display changes in data over time.read more file will get downloaded to your computer folder.

Download Timeline Slicer

Now, open the Power BI file. Then, under “Visualizations,” click on “Import from file.”

Power BI - Import Option

Now, it will ask you to choose the downloaded file from the computer’s hard disk. First, go to the respective file directory and choose the file. After selecting the file, press the “Open” button.

Power BI - Import Visual from Folder

You may see the message: “The visual was successfully imported into this report.” in your Power BI file window.

Import Custom Visual Pop Up

Now, you should see this visual under the visualizations list.

Timeline Visual Option

Create Timeline Slicer in Power BI

We need “Date” values with associated data to work with the Power BI timeline visual slicer. For example, below is the historical stock price for the past two years of one of the prestigious banks in India.

Excel Data

Copy and paste the data directly to Power BI. Else, you can copy it to an Excel file and then import it to Power BI as an Excel file reference. So, you can download the Excel workbook template from the link below, which is used for this example.

You can download this Power BI Timeline Excel Template here – Power BI Timeline Excel Template

The steps to create a Power BI timeline are as follows.

  1. We have directly uploaded the data to Power BI.

    Timeline Power BI - Data View

  2. Come back to the “Report” view now.

    Power BI RANKX - Report View

  3. Insert Power BI “Line chart” from the “Visualizations” field.

    Timeline Power BI - Insert Line Chart

  4. For this blank Power BI line chart, drag and drop the “Date” column to the “Axis” field and the “Stock Price” column to the “Values” field of the “Line chart.”

    Timeline Power BI - Insert Values in Line Chart

  5. For the date, click on the “Down” arrow and choose “Date” as the option.

    Timeline Power BI - Date Format

  6. We can see the Power BI line chart, as shown below.

    Timeline Power BI - Line Chart
    Since the data is too large, we cannot see all the data in the line chart. So, by adding a Power BI timeline slicer, we can configure the chart.

  7. Deselect the chart and insert Power BI “Timeline” custom visual that we have imported from the file.

    Timeline Power BI - Insert Timeline 2.1.0

  8. For this Power BI timeline visual, we need to drag and drop the “Date” column to the “Time” field of this visual.

    Timeline Power BI - Insert Date in Time Field

  9. Now, please look at the timeline slicer and how it looks.

    Timeline Power BI - Timeline Slicer
    This timeline slicer can interact with the line chart we created earlier. For example, in the above slicer, we can select particular months, and the line chart may show numbers only for selected months.

  10. We have selected Jan, Feb, and Mar under the year 2018. Now, look at the line chart.

    Timeline Power BI - Line Chart for Selected Months

  11. Power BI timeline slicer by default grouped into Year >> Quarter >> Month. We can change this under grouping in the same slicer only.

    Timeline Power BI - Slicer Grouping

  12. Now, we will choose “Quarter” and see how my timeline slicer looks.

    Timeline Power BI - Timeline Slicer (Select Quarter)
    Since the “Quarter” is selected, the timeline slicer is configured accordingly.

  • Like this, we can configure the timeline slicer by “Year,” “Quarter,” “Month,” “Week,” and “Day” wise.
Timeline Power BI - Various Timeline Slicer

Note: We can also download the Power BI dashboard file from the link below and view the final output.

You can download this Power BI Timeline Template here – Power BI Timeline Template

Things to Remember

  • The timeline is a custom visualization that works like a filter or slicer.
  • The timeline can accept only date values.
  • We can configure the timeline slicer by “Year,” “Month,” “Quarter,” “Week,” and “Day.”

Recommended Articles

This article is a guide to Power BI Timeline. Here, we discuss how to import and create a Power BI timeline slicer to select multiple ranges of data & see specific period visuals and examples. You can learn more about Power BI from the following articles –