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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Asanchez11
New Member

How to hide future dates in my calendar table

Hi. I am using a calendar tables and i cant hide the futes dates in the slicers and graphs

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Asanchez11 ,

 

I suggest you to create a measure to filter your visual.

Filter = IF(MAX('Calendar'[Date])<=TODAY(),1,0)

I can reproduce your issue when my calendar table contains future date.

vrzhoumsft_0-1708666915863.png

Add above measure into visual level filter and set it to show items when value = 1.

Result is as below.

vrzhoumsft_1-1708666954947.png

 

Best Regards,
Rico Zhou

 

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
Anonymous
Not applicable

Hi @Asanchez11 ,

 

I suggest you to create a measure to filter your visual.

Filter = IF(MAX('Calendar'[Date])<=TODAY(),1,0)

I can reproduce your issue when my calendar table contains future date.

vrzhoumsft_0-1708666915863.png

Add above measure into visual level filter and set it to show items when value = 1.

Result is as below.

vrzhoumsft_1-1708666954947.png

 

Best Regards,
Rico Zhou

 

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

 

 

 

 

lbendlin
Super User
Super User

As soon as you add measures based on fact tables these will disappear (unless you have facts in the future)

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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