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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.