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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
saty
New Member

Date slicer using Between

Hi All,

I am new to Power BI and had one query. When I use date slicer in my report using 'between' option, I see future dates when I select a date in my calender which are not present in my Date table. So is there a way to only show the dates in the calendar that are in my table. Please help me with it.

 

Thanks in advance,

Regards,

Saty 

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

Hi @saty ,

 

The description is confusing. Do you have two tables? One is a calendar table, the other is a fact table but contains dates?

Try to create a measure like this and apply it to visual level filter:

Measure = IF(MAX('calendar'[Date]) in VALUES(financials[Date]),1,0)

V-lianl-msft_0-1601448363452.png

 

 

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

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @saty ,

 

The description is confusing. Do you have two tables? One is a calendar table, the other is a fact table but contains dates?

Try to create a measure like this and apply it to visual level filter:

Measure = IF(MAX('calendar'[Date]) in VALUES(financials[Date]),1,0)

V-lianl-msft_0-1601448363452.png

 

 

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

amitchandak
Super User
Super User

@saty , Date slicer can not show dates beyond the calendar date column( I doubt it can). If it is created on the date column of the calendar.

 

If case you want to restrict it on fact dates. You can take the measure from fact put it on visual filter slicer and use not blank, this will filter dates based on fact.

 

refer this : https://www.youtube.com/watch?v=cyOquvfhzNM

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.