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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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