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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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.

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.
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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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