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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Which visual for a Job Timeline?

I'm trying to look for a visual with the following specifications:

  • Job usage timeline (bar graph like)
  • Jobs can be part of a group
  • When two or more jobs of the same group overlap (timestamp) they should be displayed in the next line
  • Timestamps can be days, hours, minutes and seconds precise
  • Tooltips (hover over QuickInfo)

Here are the ones I've tried so far and why they didn't work:

  • R-Script: hc_vistime - (Couldn't be displayed)
  • R-Script: gg_vistime - (No tooltips)
  • Gantt - (Timestamps could only be days exact)
  • Craydec Timelines - (Overlaps would not start new line)

 

Any suggestions? Thanks in advance!

3 REPLIES 3
Anonymous
Not applicable

Hi  @Anonymous ,

In the Gantt chart, do you want to show the difference timestamp between two dates?

You can create calculated column

Time =
VAR DIFF ='Table'[date1] - 'Table'[date]
VAR NumOfMinutes = DIFF * 24
    * 60
VAR DAYS =
    IF ( DIFF >= 1, INT ( DIFF ), BLANK () )
VAR HOURS =
    INT ( ( DIFF - DAYS ) * 24 )
VAR MINUTES = NumOfMinutes
    - ( DAYS * 24
    * 60 )
    - ( HOURS * 60 )
VAR DaysText =
    IF ( DAYS > 1, FORMAT ( DAYS, "00" ) & "days" )
VAR HoursText =
    FORMAT ( HOURS, "00" ) & "hrs"
VAR MinutesText =
    FORMAT ( MINUTES, "00" ) & "mins"
RETURN
    IF (
        NOT ( ISBLANK ( 'Table'[date1] ) ),
        COMBINEVALUES ( " ", DaysText, HoursText, MinutesText )
    )

Put into the Gantt chart visual effect, you can display days, hours, minutes and seconds

vyangliumsft_0-1629448449241.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi, 

thank you for sharing the file. May I ask how could I change the scale of x-axis? I display the data in minutes/seconds (the duration of the task is between 1 s to 1 hour). Thank you for your help (I used the same graph as you recomended). Sona

Hi Liu,

That's not really what I was looking for.

 

My problem with the Gantt Chart from MAQ Software is that the x-Axis doesn't scale in the way I want. From what I've tested, the most scaled down date hierachy is in days, however I need it to be scaled down to seconds.

 

Here's a screenshot of the data I'm using, most of it is written in german, but the column names describe it pretty well.

 

Best regards,

Stephan

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.