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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
corpsikumar
Helper I
Helper I

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
v-eqin-msft
Community Support
Community Support

Hi @corpsikumar ,

 

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
v-eqin-msft
Community Support
Community Support

Hi @corpsikumar ,

 

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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