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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Kolumam
Post Prodigy
Post Prodigy

Gantt Chart custom visual doesn't show bar for a single day

Hi All,

 

When the duration is 2 or 3 days, gantt chart is able to show a bar but if it's one it doesn't show the bar. Any ways to fix this Gantt.PNG

 

See the circled dates. It's just 1 day and gantt doesnt show a bar. Is this a bug ?

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

I haven't used the Gantt Chart custom visual before, but I'm guessing it's not a bug.

 

Think about the basic line chart.  If you don't have 2 consecutive points, it just shows a single dot; there's no line needed to connect anything.  The same way if your graph is missing a point (say, you don't have August data).  Your graph will be a contiguous line up until July, and then you'll have another contiguous line starting from September.

 

I'm guessing that same functionality is happening here.

View solution in original post

I am with Chris, never used it and assume it is not a bug.  Maybe you could change your calendar table to half days or business hours?  Not sure how practicable that would be.



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

I haven't used the Gantt Chart custom visual before, but I'm guessing it's not a bug.

 

Think about the basic line chart.  If you don't have 2 consecutive points, it just shows a single dot; there's no line needed to connect anything.  The same way if your graph is missing a point (say, you don't have August data).  Your graph will be a contiguous line up until July, and then you'll have another contiguous line starting from September.

 

I'm guessing that same functionality is happening here.

Hi Chris,

 

There was an option called duration and it was set to 1. When I changed it to 0 , it showed a bar for a single day. Thanks a ton !

 

Regards,

Krishna

I am with Chris, never used it and assume it is not a bug.  Maybe you could change your calendar table to half days or business hours?  Not sure how practicable that would be.



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.
Kolumam
Post Prodigy
Post Prodigy

Hi Power BI experts,

 

Could you please help me with this thread ? I am umable to find a solution.

 

http://community.powerbi.com/t5/Desktop/Gantt-Chart-custom-visual-doesn-t-show-bar-for-a-single-day/...

 

Thanks

Krishnamurthy

Kolumam
Post Prodigy
Post Prodigy

Hi Power BI experts,

 

Could you please help me with this thread ? I am umable to find a solution.

 

http://community.powerbi.com/t5/Desktop/Gantt-Chart-custom-visual-doesn-t-show-bar-for-a-single-day/...

 

Thanks

Krishnamurthy

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.