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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
lastnn30
Post Patron
Post Patron

Date hierarchy in the filter

Hi

I have date field and when I insert in any visiualization, I would see date Hierachy (Day, Month, Year etc) and I can select only month for example. However; when I insert date filed in the filder (please see screenshot below). I would get that option anymore; instead I would get other options for example Advanced Filter, Top N etc. 

Is there a way to get Date Hierachy in the filter? Thank you very much.

 

SNAG-0538.jpg  

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@lastnn30 , it always good to create a date table with column-like month, month year etc and use those

 

date =

Addcolumns(calendar(date(2020,01,01), date(2021,12,31) ), "Month no" , month([date])
, "Year", year([date])
, "Month Year", format([date],"mmm-yyyy")
, "Month year sort", year([date])*100 + month([date])
, "Month",FORMAT([Date],"mmmm")
, "Month sort", month([DAte])

)

 

Join it with date of your 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

View solution in original post

2 REPLIES 2
lastnn30
Post Patron
Post Patron

Thank you very much.

amitchandak
Super User
Super User

@lastnn30 , it always good to create a date table with column-like month, month year etc and use those

 

date =

Addcolumns(calendar(date(2020,01,01), date(2021,12,31) ), "Month no" , month([date])
, "Year", year([date])
, "Month Year", format([date],"mmm-yyyy")
, "Month year sort", year([date])*100 + month([date])
, "Month",FORMAT([Date],"mmmm")
, "Month sort", month([DAte])

)

 

Join it with date of your 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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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