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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Gantt chart with reference vertical lines

Expected chart:

 

image_2019_11_07T14_51_15_027Z.png

 y-axis: Tasks

x-axis: Dates

Reference lines(more than one): some specific dates

 

For plotting I'm using custom visual - Gantt (version-2.2.3.0) from power bi market place which is an open-source visual (code available at Github: https://github.com/microsoft/powerbi-visuals-gantt ). 

 

I'm able to plot the duration (start date to end date) of each Task but not able to plot reference lines (which are vertical lines as shown in the graph).

Sample Data:

Gantt Dataset.JPG

 

Any idea of how to achieve the above scenario will be helpful. Thanks in advance.

@ganttchart @customvisual 

@Greg_Deckler  @v-danhe-msft @v-chuncz-msft  @GuyInACube @datanaut 

 

3 REPLIES 3
v-evelk
Employee
Employee

Hello,

 

Gantt has got Milestones bucket to set up vertical lines.
You can look through standard report to figure out how to use them.

 

GanttStandardReport.PNG

 

 

Milestones.PNG

 

I hope this will help to solve your issue.

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Anonymous
Not applicable

Hello, @v-evelk  Thanks for your response.

But my milestones(ref's lines) are dependent on Project name and not on Tasks. Those are random dates which I have to plot on the visual. Which will come up as a straight line as shown in my post above.

You are right that milestone records are considered as tasks but task records are just containers for them in this case.

In fact, you can call your milestone records as "ProjectName Milestone [1|2|3]" to show relation with a certain project.

 

MilestoneNature.PNG

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors