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
CCI_Dev
New Member

Timeline/Schedule Milestone Comparison

Hello community,  Power BI novice here, hoping to get some help creating a timeline style visual.  I am trying to create a visualization that illustrates date shift on major milestones from a construction schedule.  I've trid using the Microsoft Gantt chart visualization, Timeline Basic, & Craydec Timelines.  I also tried creating a scatter plot but couldn't quite get that to work either.  Ideally I'd like to be able to customize the markers or at least colors. 

 

Any tips, third party visualizations, or tutorial links would be helpful.  Thanks much!

 

This is a simplified version of what I'm looking for created in Excel using a scatter plot. 

CCI_Dev_0-1713411361781.png

 

 

2 ACCEPTED SOLUTIONS
v-xinruzhu-msft
Community Support
Community Support

Hi @CCI_Dev 

Based on your description, i create a visual use scatter plot in Power BI, you can refer it.

Sample data 

vxinruzhumsft_0-1713494081243.png

1.Create two calculated columns in table.

 

Rank = RANKX('Table',[Date],,ASC)
UpdateType = [Update]&" "&[Type]

 

Then select the UpdateType column and select sort by rank column

vxinruzhumsft_1-1713494426237.png

2.Create a measure 

 

Measure = 1

 

Then put the date to x-axis, put the measure to y-axis, and put the UpdateType column to legend.

vxinruzhumsft_4-1713494806469.png

Then you can set the mark in properities.

vxinruzhumsft_3-1713494637406.png

Output

vxinruzhumsft_5-1713494910382.png

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

Hi @CCI_Dev 

If you want to achieve this, you can create the following field that the update field is blank, but the date field is not, you can refer to the following picture.

vxinruzhumsft_0-1713750620037.png

Then modifty the measure to the following

Measure = IF(MAX('Table'[Update])=BLANK(),-1,1)

Then set the min and max value of the y-axis.

vxinruzhumsft_1-1713750668738.png

Output

vxinruzhumsft_2-1713750680963.png

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

4 REPLIES 4
CCI_Dev
New Member

Thank you so much for your expertise!

CCI_Dev
New Member

Thank you Yolo! That is exactly what I'm looking for.  The only thing would be I need the dates to plot relatively, not evenly spaced out.  Is that an option?  

Hi @CCI_Dev 

If you want to achieve this, you can create the following field that the update field is blank, but the date field is not, you can refer to the following picture.

vxinruzhumsft_0-1713750620037.png

Then modifty the measure to the following

Measure = IF(MAX('Table'[Update])=BLANK(),-1,1)

Then set the min and max value of the y-axis.

vxinruzhumsft_1-1713750668738.png

Output

vxinruzhumsft_2-1713750680963.png

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

v-xinruzhu-msft
Community Support
Community Support

Hi @CCI_Dev 

Based on your description, i create a visual use scatter plot in Power BI, you can refer it.

Sample data 

vxinruzhumsft_0-1713494081243.png

1.Create two calculated columns in table.

 

Rank = RANKX('Table',[Date],,ASC)
UpdateType = [Update]&" "&[Type]

 

Then select the UpdateType column and select sort by rank column

vxinruzhumsft_1-1713494426237.png

2.Create a measure 

 

Measure = 1

 

Then put the date to x-axis, put the measure to y-axis, and put the UpdateType column to legend.

vxinruzhumsft_4-1713494806469.png

Then you can set the mark in properities.

vxinruzhumsft_3-1713494637406.png

Output

vxinruzhumsft_5-1713494910382.png

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

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.