Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Expected chart:
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:
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
Hello,
Gantt has got Milestones bucket to set up vertical lines.
You can look through standard report to figure out how to use them.
I hope this will help to solve your issue.
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com
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.
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.