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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.