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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors