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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
v-rzhou-msft
Community Support
Community Support

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
v-rzhou-msft
Community Support
Community Support

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.