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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
PhilSmith
Helper II
Helper II

Date coloum not responding to filter. Nothing but date.

I have a date table, which comes from a spreadsheet, and two filters, year, and month.  When I put a particular column into a table, it does not respond to the filter.  Other column works just fine.   The table in yellow should only display 2019, right? Trying to figure out why and how to recognize it in the future.  Thanx.  datetest.pbix

PhilSmith_2-1725666509477.png

 

 

 

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @PhilSmith 

I looked at the attached file and noticed that the 'year' is not actually a standalone year column but the result of an automatic hierarchy generated by the auto date/time feature.

The automatic date hierarchies can be quite misleading. Not only do they take up more memory and slow down your model, but they also limit flexibility in how you manage and filter your dates. That's why I always recommend creating a dedicated date table with properly formatted columns (Year, Month, etc.) instead of relying on the built-in auto hierarchies. This approach ensures better control over your filters and data presentation, and you can avoid unexpected behavior like the one you're seeing here with the 2019 filter.
To switch off the automatic hierarchies fo to the options and switch off "auto date time"globally and in the current file

Ritaf1983_6-1725721507379.png

 

Ritaf1983_0-1725720298777.png

2. Mark the table as a date table :

Ritaf1983_1-1725720649118.png

Ritaf1983_2-1725720673725.png

Now if you need hierarchies you can create them manually :

Ritaf1983_3-1725720762529.png

And add to it the wanted columns :

Ritaf1983_4-1725720818466.png

After finishing you can add created hierarchies to the visual and the slicers will work as expected :

Ritaf1983_5-1725720922440.png

The updated pbix is attached.
I also recommend the linked video guides :
https://www.youtube.com/watch?v=xu3uDEHtCrg

https://www.youtube.com/watch?v=x6vXVJZ_eTY

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

4 REPLIES 4
Ritaf1983
Super User
Super User

Hi @PhilSmith 

I looked at the attached file and noticed that the 'year' is not actually a standalone year column but the result of an automatic hierarchy generated by the auto date/time feature.

The automatic date hierarchies can be quite misleading. Not only do they take up more memory and slow down your model, but they also limit flexibility in how you manage and filter your dates. That's why I always recommend creating a dedicated date table with properly formatted columns (Year, Month, etc.) instead of relying on the built-in auto hierarchies. This approach ensures better control over your filters and data presentation, and you can avoid unexpected behavior like the one you're seeing here with the 2019 filter.
To switch off the automatic hierarchies fo to the options and switch off "auto date time"globally and in the current file

Ritaf1983_6-1725721507379.png

 

Ritaf1983_0-1725720298777.png

2. Mark the table as a date table :

Ritaf1983_1-1725720649118.png

Ritaf1983_2-1725720673725.png

Now if you need hierarchies you can create them manually :

Ritaf1983_3-1725720762529.png

And add to it the wanted columns :

Ritaf1983_4-1725720818466.png

After finishing you can add created hierarchies to the visual and the slicers will work as expected :

Ritaf1983_5-1725720922440.png

The updated pbix is attached.
I also recommend the linked video guides :
https://www.youtube.com/watch?v=xu3uDEHtCrg

https://www.youtube.com/watch?v=x6vXVJZ_eTY

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Thank you!  A very thorough answer.  I was missing a that step in a couple of my files.

 

 

Happy to help😊

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
lbendlin
Super User
Super User

you are using Auto date/time.  While acceptable in some limited scenarios it is generally not recommended as it has a lot of bad side effects.  Use your own hierarchies from your Calendar table.

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors