Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Everyone,
Hope someone can assist a novice PowerBI user.
The problem: I need to calculate the time (in minutes) between each row in the "Event Date" column (see screenshot below).
So, for instance, I want to know the time difference between the second row and first row of the "Event Date" column. This should be 0, but if you have a look at my "Time Difference" column, something funny is going on.
Here is my DAX code:
Hopefully someone can help!
Thank you.
Solved! Go to Solution.
@Anonymous , create a new column
datediff([Event Date],maxx(filter(Table, [Index] = earlier([Index])-1),[Event Date]), minute)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!