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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Filter Date Ordering

Hi all,

 

I have a report where I use a (generated) date table which works fine but I have encountered a slight problem with the filtering. Filter OrderFilter Order

Refering to the picture above; The month names are shown in alphabetical order but I would like to achieve a order where it is shown in order of date (January; Februari; March; etc.).

 

I am not sure how this is done so any help would be greatly appreciated!

 

Best regards,

LMeijdam

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

 

After creating your calculated column, you can find sortbycolumn option under modeling tab from there you need to sort your MonthName column based on MonthID. Please find the below screenshots FYR.
Before Sort:
Before_Sorting.PNG
Sort by MonthID:
Sorted By Month ID.PNG
After Sort:
After Sorted.PNG

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Create a new calculated column using below dax, ensure that column datatype should be whole number.
After that sort your Month Name column using MonthID by using sort by column option under Modeling tab.

MonthID = FORMAT(Date,"MMYYYY")

MonthID.PNG

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

Anonymous
Not applicable

Hi @Anonymous,

 

Thanks for your fast response!

 

I don't see how this will solve the issue, my dataset itself is already ordered by date. (see picture below)

 

DateTable.PNG

 

The column I use in the filter "Month Name" and that is how I want the data in the filter to be formatted. I understand that I can order this table on your Dax Code but that will not affect the ordering of the filter I am afraid.

 

Best regards,

Lieuwe Meijdam

Anonymous
Not applicable

Hi @Anonymous,

 

After creating your calculated column, you can find sortbycolumn option under modeling tab from there you need to sort your MonthName column based on MonthID. Please find the below screenshots FYR.
Before Sort:
Before_Sorting.PNG
Sort by MonthID:
Sorted By Month ID.PNG
After Sort:
After Sorted.PNG

Anonymous
Not applicable

Thanks for the help @Anonymous! This resulted in the outcome I was looking for.

 

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