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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
0045321
Frequent Visitor

Removing Date Brackets from Hour View in Microsoft Gantt Chart

Hi,

I'm using Microsoft's Gantt chart. I've set the Date Type to Hour, so the units displayed along the x-axis are hours. However, next to the hour is the day of the month in brackets. I would like to remove this, but it doesn't seem like there's a way.

 

 

So it seems like there is no option for this. I went searching and found the Github repo. However, it stops at v1.14.3. The version currently available in Power BI is v3.0 12.0.

I also tried supplying start time and end time rather than start date and end date to the visual, and it decided that the date was Decemeber 30th, 1899. Obviously.

 

Does anyone know...

 

  • Where I could obtain the source code for the current visual, so I can modify and compile it?
  • Where I can file for an enhancement (new Github repo)?
  • Any other way of resolving my issue?

 

Thanks.

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @0045321  -You're absolutely right to dig into this issue, the Microsoft Gantt chart visual, especially from the official Marketplace, has very limited customization options when it comes to formatting the x-axis.

 

reference:latest official Gantt chart visual (v3.x) public.

https://github.com/microsoft/PowerBI-visuals-Gantt

 

Create a new Idea with tags: Gantt, Marketplace Visual, x-axis formatting, and describe the problem clearly

Fabric Ideas - Microsoft Fabric Community

 

Hope this helps.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

5 REPLIES 5
0045321
Frequent Visitor

v-agajavelly
Community Support
Community Support

Hi @0045321 ,

Thanks @rajendraongole1   and @GrowthNatives  for the helpful insights and references. Confirming: As of now, there is no direct way to remove the date in brackets next to the hour in the official. Microsoft Gantt visual (v3.x). The x-axis formatting is limited, and customization like this isn’t supported out of the box.

The GitHub repo PowerBI-visuals-Gantt is a helpful reference, though it currently lags behind the marketplace version.

Since solution doesn’t exist at the moment, we strongly recommend submitting this as a feature request on the Microsoft Fabric Ideas forum .

Thanks,
Akhil.

evancrossley
New Member

yeah, i’ve run into this too those brackets are oddly stubborn! would be great if someone shared the updated repo or a real fix for newer versions.

GrowthNatives
Resolver III
Resolver III

Hi @0045321 

📌Problem statement 
We are looking the question as in Power BI, the Microsoft Gantt visual displays time-based data along the x-axis. When setting the Date Type to "Hour", each hour label includes the day of the month in brackets (e.g., 14:00 (10)), which can clutter the timeline and confuse end users. Unfortunately, there is no built-in option to remove or format this label.

🎯 Objective
We are looking to solve it as per : 

To remove or customize the bracketed day portion (e.g., (10)) from the hour-level x-axis labels in the Microsoft Gantt visual, improving clarity and usability for hourly project tracking. Additionally, explore alternative approaches such as custom visuals or feature requests, due to current limitations in Microsoft's native Gantt implementation.


🔹 Steps to follow : 

  • Format a Composite Field (Hacky workaround):

    • If the brackets are generated from the underlying date, try formatting your Start/End times into text fields that only show the time (e.g., "HH:mm").

    • Replace DateTime fields with string-type formatted fields like:

DAX

Start Hour Only = FORMAT([Start], "HH:mm")
End Hour Only = FORMAT([End], "HH:mm")

 

  • This might confuse the visual, as it expects datetimes for scaling, but some visuals allow categorical axes — worth testing.

  • Build Gantt with Plotly or Charticulator (via Power BI custom visuals):

    • Charticulator is more flexible, although less dynamic for scaling.

    • Plotly (via R or Python visual) can give you full control over axes, including hour-only x-axes.

Hope this solution helps you make the most of Power BI! If it did, click 'Mark as Solution' to help others find the right answers.
💡Found it helpful? Show some love with kudos 👍 as your support keeps our community thriving!
🚀Let’s keep building smarter, data-driven solutions together! 🚀 [Explore More]

 

rajendraongole1
Super User
Super User

Hi @0045321  -You're absolutely right to dig into this issue, the Microsoft Gantt chart visual, especially from the official Marketplace, has very limited customization options when it comes to formatting the x-axis.

 

reference:latest official Gantt chart visual (v3.x) public.

https://github.com/microsoft/PowerBI-visuals-Gantt

 

Create a new Idea with tags: Gantt, Marketplace Visual, x-axis formatting, and describe the problem clearly

Fabric Ideas - Microsoft Fabric Community

 

Hope this helps.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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