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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
HenryJS
Post Prodigy
Post Prodigy

Date Filtering - Converting Dates To Months

Hi all,

 

I want to create a Date Filter drop down which has a list of the months.

 

I have a column with dates in. How can I create a date dropdown which then only sows the months and will return any dates in that month?

 

Data:

 

dax4000.PNG

 

Dropdown:

 

dax5000.PNG

 

 

Thanks,

 

Henry

1 ACCEPTED SOLUTION
v-lid-msft
Community Support
Community Support

Hi @HenryJS ,

 

We can create a calculated column use Format function to meet your requirement:

 

MonthSlicer = FORMAT([Date],"MMMM")

 

9.jpg 

 

10.jpg

 


If it doesn't meet your requirement, Please show the exact expected result based on the Tables that we have shared.

 


Best regards,

 

 

Community Support Team _ Dong Li
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-lid-msft
Community Support
Community Support

Hi @HenryJS ,

 

We can create a calculated column use Format function to meet your requirement:

 

MonthSlicer = FORMAT([Date],"MMMM")

 

9.jpg 

 

10.jpg

 


If it doesn't meet your requirement, Please show the exact expected result based on the Tables that we have shared.

 


Best regards,

 

 

Community Support Team _ Dong Li
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

Change it to between from down arrow option or

If you are seeing a date Hierarchy then on Slicer drag only Month and Year or cross others it will change

Else create a calendar table and have month year column in that and use that in filter

Refer

https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/Winner-Topper-on-Map-How-to-Color-States-on-a-Map-wi...
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
https://community.powerbi.com/t5/Community-Blog/Power-BI-Working-with-Non-Standard-Time-Periods/ba-p...
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors