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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Create a measure for gantt chart help

Hello Power Users,

I'm trying to create a measure for gantt chart for below data. the senorio would be the Previous Milestone and Previous Milestone planned date would be the columns that use to create the measure. The data is grouped by “Name” i.e Column-1 Within each Name we would need the milestone name and date from the previous milestone.

corpsikumar_0-1656509908334.png

 

Please help

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Sorry for that the information you have provided is not making the problem clear to me.

If you want to get the End Date based on the next Previous Milestone planned date of each Name, please try:

End Date Measure = MINX(FILTER(ALLSELECTED('Table'),[Name]=MAX('Table'[Name]) && [Previous Milestone planned date]>MAX('Table'[Previous Milestone planned date])),[Previous Milestone planned date])

Eyelyn9_0-1656902923424.png

If not,please share more details to help us clarify your scenario.

 

Best Regards,
Eyelyn Qin
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

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

Sorry for that the information you have provided is not making the problem clear to me.

If you want to get the End Date based on the next Previous Milestone planned date of each Name, please try:

End Date Measure = MINX(FILTER(ALLSELECTED('Table'),[Name]=MAX('Table'[Name]) && [Previous Milestone planned date]>MAX('Table'[Previous Milestone planned date])),[Previous Milestone planned date])

Eyelyn9_0-1656902923424.png

If not,please share more details to help us clarify your scenario.

 

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors