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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
mduchesne
Frequent Visitor

Sorting based on milestone dates

I thought this was simple but now I'm utterly confused

My current project shows orders by milestone date/times. these dates are linked back to a date calendar by delivered date. The effect of this is to sort the table by our delivered date.  

 

table, Date selected June 1st, 2018

 

Dates and Milestones.PNG

 

I've got a request asking if they can have a slicer that will sort by a different milestone..OK!?

 

What I tried and Failed

I created additional columns that returned dates for the specific milestones. Then created inactive relationships for my date calendar and created a new modified measure.

base measure,

Measure 1

milestone = max(enteredOnDate)

Measure 2

Arrival= calculate ([milestone], userelationship(milestone,calendar[date)).

 

I expected This (manually created for illustrative purposes)

Dates and Milestone Goal.PNG

 

A milestone table sorted by Arrival/Pickup showing all other relevant dates but I ended up with this below. 

A table filtered to only Arrival/Pickup dates...

 

Modified Milestone.PNG

 

 

I'm missing something obvious here.

please help.

 

Thanks!

 

 

 

 

0 REPLIES 0

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.