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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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