Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
cplesner
Helper III
Helper III

Find dates until next event from filtered start and end events

Hi

 

I would like some input on how to get the best performing DAX calculation for calculating time between selected events. Let say i have below source table with millions of people and events.

Udklip1.PNG

 

In my PowerBI matrix I would like to be able to select a Start Event and an End Event and then have it show the following

Udklip2.PNG

Or if i select another filter, then this

Udklip3.PNG

 

Any help is appreciated

 

1 REPLY 1
littlemojopuppy
Community Champion
Community Champion

Can you paste some data to work with?  Difficult to work with pictures

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.