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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
oliverblane
Helper III
Helper III

Using a Date Table Slicer with a table that has dates outside Date Table range

I have a date table that includes dates from 1st March 2021 to the present date. I have a table of data that looks like the following:

oliverblane_0-1638814845633.png

I am looking to use the Date column from my date table to slice on Review Date. However, I notice that when the full date table range is selected, then every row in the table of data is included, even the row at the bottom which is outside the date range. This is not the behaviour I want, which is that the bottom row should be excluded (31st December 2021 > present date). However, if I move the beginning of the date slicer by just one day, then the bottom row is excluded as hoped. See below for a demonstration of this:

oliverblane_1-1638815060427.png

Moving the start date by one day fixes the problem:

oliverblane_2-1638815087416.png

I assume that this is an issue with the Review Date being outside of the date table range, but how would I fix this? I like to slice using the date table because it allows me to slice multiple tables using one slicer on a report page.

Thank you for any help on this!

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @oliverblane ,

 

Try to create a measure like below:

 

Measure = calculate(count('table'[role id]),filter('table','table'[review date]>=min('date'[date])&&'table'[review date]<=max('date'[date])))

 

If the problem persists, can you provide a sample pbix after deleting sensitive data.


Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Hi @oliverblane ,

 

Try to create a measure like below:

 

Measure = calculate(count('table'[role id]),filter('table','table'[review date]>=min('date'[date])&&'table'[review date]<=max('date'[date])))

 

If the problem persists, can you provide a sample pbix after deleting sensitive data.


Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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