Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
I'm trying to look for a visual with the following specifications:
Here are the ones I've tried so far and why they didn't work:
Any suggestions? Thanks in advance!
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
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
78 | |
57 | |
37 | |
34 |
User | Count |
---|---|
99 | |
56 | |
56 | |
46 | |
40 |