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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

sort by


I am trying to sort by month number...

I have month number in my date table. 

I am selecting the Sort BY column under Column tools, but my chart still does not show it as an option to sort by...

...any insight on what may be going wrong would be appreciated.


Super User
Super User

@lab , Make sure your mark month year sort as sort column of month year


Month Year = FORMAT([Date],"mmm-yyyy")
Month Year sort = FORMAT([Date],"yyyymm")



or for month

Month Year = FORMAT([Date],"mmm")
Month Year sort = month([DAte])



How to Create Sort Column and Solve Related Errors:

Thank you.

 In my date table...Month# is a whole number.  



MAr =3 


When I select that column to sort by, shouldn't that have changed my table on the report?

That's not working...

@lab , Sort Asc/desc in three dots. I think that will not come with whole number have one text and another whole number as sort column


Yes, that is what I have, still not working.  Could it have anything to do with my date table being built from a script?

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors