Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors