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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
walker8888
Helper II
Helper II

How do I get my dates in order

Hello I created a matrix visual and have added my Month datat to columns. However my months show up in alphabetical order instead of monthly order. Anyone knows how this can be fixed? Thanks. 

 

walker8888_0-1715613173002.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @walker8888 ,

 

Thanks for the reply from @HotChilli  .

 

It's easy, just create an Index column in Power Query.

vhuijieymsft_0-1715652306426.png

 

After clicking Close and Apply to return to Power BI Desktop, go to the Data view, select the Date column (which may be the Month column in your data), and then select Sort by Index column in the toolbar.

vhuijieymsft_1-1715652306428.png

 

The page effect is as follows:

vhuijieymsft_2-1715652318223.png

 

If you have other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @walker8888 ,

 

Thanks for the reply from @HotChilli  .

 

It's easy, just create an Index column in Power Query.

vhuijieymsft_0-1715652306426.png

 

After clicking Close and Apply to return to Power BI Desktop, go to the Data view, select the Date column (which may be the Month column in your data), and then select Sort by Index column in the toolbar.

vhuijieymsft_1-1715652306428.png

 

The page effect is as follows:

vhuijieymsft_2-1715652318223.png

 

If you have other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

HotChilli
Super User
Super User

This is usually caused by the month names being a column (text datatype) in the Fact table. Powerbi doesn't know it's a month representing a date.

--

Solutions: use a separate date table

or create a Month dimension table with a column to order the text types (using Sort by Column)

or use inbuilt powerbi date features (this will need a date in the Fact table)

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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