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
Hey, I am trying to find the time passed between two events in a series of data. The series are defined by a session_id that is the same for all events. I know I wanty to order the data then fid the differnece between the first and last, but I am not sure how. Whenever I start with an index column it wants to index each opne in order, not the group. Any help would be great, and a sample of data is below.
Solved! Go to Solution.
@thatalexboyd , You can create a measure like
averageX(values(Table[session ID]), datediff(Min(Table[eventtime]),max(Table[eventtime]),second))
@thatalexboyd , You can create a measure like
averageX(values(Table[session ID]), datediff(Min(Table[eventtime]),max(Table[eventtime]),second))
So I adjusted the above measure and it looks like it is working! I guess a follow up question, how does an AverageX accomplish this since it a difference?
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!