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

View all the Fabric Data Days sessions on demand. View schedule

Reply
fabiomanniti
Helper III
Helper III

Date filter hierarchy. Only show past dates

I have a date table and I want to create a hierarchical filter like in the picture.

fabiomanniti_0-1653385670038.png

As you can see, dates start in 1900 and go through 2999.

I only want to show dates from 2018 to today.

I create a new column:

isInRange = IF(
d_date[date]>=DATE(2018,01,01) && d_date[date]<=TODAY(),
TRUE(),
FALSE()
)

So I put a filter "isInRange = true"

If in the filter the date is shown "regularly", it works, but if it is hierarchical, I still will see dates from 1900 to 2999

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @fabiomanniti ,

 

As you described, the filter condition does not work for date columns with a hierarchical structure. Whereas a normal date column can successfully apply the filter condition.

vhenrykmstf_1-1653903763819.pngvhenrykmstf_2-1653903917658.png

 

vhenrykmstf_3-1653903955945.png


Best Regards,
Henry


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

@fabiomanniti , Create custom columns like a month, year, qtr, etc, and use that. Try to avoid auto-time intelligence.

 

Use Date Table.

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors