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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
SH-VE
Helper IV
Helper IV

To create months in ascending orders

Hi All,

 

i have created a date hierarchy for month and week starting march 2019. However, the month gerts displayed in April, June, march, May  instead of June, May, April , march. The month and week are created throuigh a lookup function from another table.

 


Capture 1.PNG

 

Capture.PNG

 

Sorting the table does not give the desired result , either.

 

Thanks,

2 REPLIES 2
jthomson
Solution Sage
Solution Sage

Try making a column that gives the date field you're using something numerical that you can sort on (i.e. this month is 201906), then telling your hierarchy to sort by that. That said, I can't see on your screenshot that you're doing anything that isn't available out of the box, so why not use the automatic hierarchy that gets produced?

Thanks,

 

The automatic date hierarchy on "Order Date" here does not have week. Thetable I am trying to build requires month and week.Capture 1.PNG

 

 

I did create a numeric date key and sorted it. Should I add this field to the table on the report , since prior sorting does not change the result.

Capture.PNG

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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