Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
invtgillen
Frequent Visitor

Timeline Visualization

Has anyone had any luck using this visual for an elapsed time of dates? For example, I am wanting to use this visual in combination with the Gantt visual so that the user can select to see projects occuring during Q1-Q4 2016. It seems like I can only put one date in as a parameter as I tried "mm/dd/yyyy - mm/dd/yyyy" but it doesn't appear to recognize those dates for the timeline.

 

Any help would be greatly appreciated!

6 REPLIES 6
v-haibl-msft
Microsoft Employee
Microsoft Employee

@invtgillen

 

In Timeline visual, you can select Q1-Q4 2016 directly as below. The Date column is from a Calendar table which has relationship with Table1 which includes task duration details. The Gantt will only show the tasks in your selected time period.

Timeline Visualization_1.jpg

 

Best Regards,

Herbert

@v-haibl-msft -

 

Thanks for your comment.

 

Yes; however, this starts to work incorrectly with my use-case since we have some projects that could expand for years. So I have two dates a start and finish date. If for example the project started in 2014 and ends at the end of this year. If you have the start date as the reported item then it will not show up in the years 2015 and 2016 since it does not take into consideration the span of the finish date or the duration.

 

That's my biggest problem as I would like to use the timeline to pull up any projects that are scheduled to be active during that time.

 

Thank you!

@invtgillen

 

Currently Gantt only recognizes the Start Date specified in the dataset. If the start date is not in the selected range in Timeline, we will not be able to see this task duration in the Gantt chart even it is active in this selected date range. I don’t think you can completely get your desired result with current version of Gannt visual chart. And I think your requirement does make sense, maybe you can create an idea in this site.

 

You can also try with another alternative. If we have a table like below, we can create a EndYear column. And use this EndYear column in a slicer to define the EndYear for the tasks, but make it only can filter the Gantt but not the Timeline as below.

Timeline Visualization_1.jpgTimeline Visualization_2.jpg

 

Now you can select the date range for the start date and then define the EndYear as below. Hope it helps.

Timeline Visualization_3.jpg

 

Best Regards,

Herbert

there is a workaround,

 

create this measure 

 

Active = CALCULATE(COUNTROWS(task),
FILTER(task, ([Start] <= LASTDATE(Mstdate[Date])
&& [finish]>= FIRSTDATE(Mstdate[Date]))))

 

now in the gantt chart assign the measure active as a filter, when you select the date in the timeline, it will filter the tasks active in that date range.

 

you can see an example here

 

 

Hi Mim,

 

I came across your post, may I ask how you created the link that held your example?

 

https://app.powerbi.com/view?r=eyJrIjoiYjkwZTMyY2EtYTE1Ny00OWQzLWJlZDktNjkxN2JkOTA3ZmIxIiwidCI6ImI2Z...

 

Thanks,

invtgillen
Frequent Visitor

Does anyone know a potential work around or another solution?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.