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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
DanielDiAngelo
Regular Visitor

Date Heirarchy does not maintain proper sort

Full disclosure lots going on here.  I have built a dyamic legend using dynamic relationships.  I have two measures responding to that legend variable.  I have a bubble chart where X axis is a date heirarchy, y axis is a measure influenced by the legend slicer and size is a measure influenced by the legend slicer.  In the pic below notice the date is not in order, 2023 Q1 and 2022 q2 are swapped.  Any adjustmenst to sort has no response.  the Date heirarchy is native, I did not define anything special.   If I column graph the same content everthing works and stay in date order (pics 2 and 3).  Sadly I cannot share the data as it is full of sensitive content;  even below the names are changed to protect the identity LOL.   

 

Any thoughts?

 

 

DanielDiAngelo_1-1645805214158.png

DanielDiAngelo_2-1645805226772.png

DanielDiAngelo_3-1645805238442.png

 

 

 

 

4 REPLIES 4
v-chenwuz-msft
Community Support
Community Support

Hi @DanielDiAngelo ,

 

This is a common problem, you can try sort by column.

vchenwuzmsft_0-1646121670254.png

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

DanielDiAngelo
Regular Visitor

Certainly an option.  But it fails at month as well.  It is native date format so it seems like a workaround to a bug to manually sort.  Until there's a fix, I will likely proceed with your suggestion.  Thanks for the input.

lbendlin
Super User
Super User

Read about the DAX feature "Sort one column by another column" and then add a QuarterSort column to your calendar table that you then sort the quarter by.

It appears the issue is with the graphic,  more research into scatter charts tells me that the x and y axes need to be measures.  I tried a number of 3rd party scatter charts and they also had the issue.  It's a shame because I think the display is pretty handy.  I ended up only offering the users year.  No qtr/month drilling. I think for this occasion it will be OK.  

 

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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