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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.