Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Calculating time between despatching two orders

Hi! I have a problem regarding my calculations. I have a despatch data, and I need to calculate how much time it takes from despatching one order until despatching another. The data has these col...
  • Fowmy's avatar
    Fowmy
    2 years ago

    Anonymous 

    As mentioned earlier, there are duplicate dispatch dates in your data. To address this, sorting by order number is essential. If you sort by order number after the delivery date, you should obtain the desired result. If using the order number is not preferable, kindly specify your preferred sorting criteria for the dates.

    It seems you're anticipating the previous row to display as it appears on the screen, but it's crucial to note that DAX requires proper sorting.