Skip to main content
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.

Post Patron
Post Patron

Filtering/showing dates BETWEEN two dates in the table

In my data I have something that looks like the following:



What I've been doing until now is creating a seperate Date column and going with 1 row for each day between StartDate and StopDate, but I'm already dealing with 4+MILLION rows, so this is getting ridiculous, even though it works (but takes about 30 minutes to update).


I need to do several things with these dates:

Create a chart that will show me how many PersonID had an active service per month (or whatever)

Create a date slicer that will show me how many PersonID had an active service on that particular date

Create a card that will show me how many PersonID have an active service today


I'd really like to do this without having to create that Date column, but is that possible at all? Some sort of slicer/filter/whatever that will do a if(SelectedDate) is BETWEEN StartDate and StopDate then return 1 or something like that?


This actually looks pretty workable - thanks!

Helpful resources

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


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.