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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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