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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
hoss
Frequent Visitor

Ordering dates, grouped by month, by year

Hi there,

 

Almost newbie here.

I have a ribbon chart and on X axis I'm showing count of date values for each user in the last six months (each colour is a user). I want to group the data in months so in the fields I'm choosing date hierarchy and remove year, quarter and day. It works good but the problem is that the order of x axis now disregards the year. For instance instead of being Nov(2019), Dec(2019), Jan(2020), Feb(2020), it is Jan(2020), Feb(2020), Nov(2019), Dec(2019).

monthly.jpg

 

If I include the year the values will be grouped by year as below which is not what I want:

yearly.jpg

 

If you may need other things to be able to answer the question let me know.

Any help is much appreciated.

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

have you used month year that sorted correctly?

 

example

month year = Format([Date],"MMM-YYYY")

month year sort = Format([Date],"YYYYMM")

 

Sort_by_column.pngSortnewribbion.png

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

have you used month year that sorted correctly?

 

example

month year = Format([Date],"MMM-YYYY")

month year sort = Format([Date],"YYYYMM")

 

Sort_by_column.pngSortnewribbion.png

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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