This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi,
I need to calculate the date difference between 2 max dates
example below: i need the date difference between Accept and Hired of John
Solved! Go to Solution.
@Anonymous,
Or you can use measure below:
Date Difference = CALCULATE(DATEDIFF(MIN(Table1[Max Date]), MAX(Table1[Max Date]), DAY), ALLEXCEPT(Table1, Table1[Name]))
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous,
Or you can use measure below:
Date Difference = CALCULATE(DATEDIFF(MIN(Table1[Max Date]), MAX(Table1[Max Date]), DAY), ALLEXCEPT(Table1, Table1[Name]))
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, if you want the difference in number of days you could use as a calculated column:
Date Difference = VAR CurrentPerson = Table1[Name] VAR AcceptDate = CALCULATE(MAX(Table1[Max date]);FILTER(Table1;Table1[Name]=CurrentPerson);Table1[Step]="Accept") VAR HiredDate = CALCULATE(MAX(Table1[Max date]);FILTER(Table1;Table1[Name]=CurrentPerson);Table1[Step]="Hired") RETURN HiredDate-AcceptDate
/Johan
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 60 | |
| 48 | |
| 29 | |
| 23 | |
| 23 |