Forum Discussion
Container Delivery Date
- 1 year ago
If yes, you can continue like below:
Latest ETA =
CALCULATE(
MAX('Freight'[ETA Date]),
ALLEXCEPT('Freight', 'Freight'[Container ID])
)First ETA =
CALCULATE(
MIN('Freight'[ETA Date]),
ALLEXCEPT('Freight', 'Freight'[Container ID])
)Delay (days) =
DATEDIFF([First ETA], [Latest ETA], DAY)If this solved your issue, please mark it as the accepted solution. ✅
Hello RDillon-2025 ,
In your source, each snapshot of the report should go into Power BI as a separate row, not overwriting the prior one. If you only overwrite, you lose the history. Do your records keep like this or not?
If yes, you can continue like below:
Latest ETA =
CALCULATE(
MAX('Freight'[ETA Date]),
ALLEXCEPT('Freight', 'Freight'[Container ID])
)
First ETA =
CALCULATE(
MIN('Freight'[ETA Date]),
ALLEXCEPT('Freight', 'Freight'[Container ID])
)
Delay (days) =
DATEDIFF([First ETA], [Latest ETA], DAY)
If this solved your issue, please mark it as the accepted solution. ✅