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
true73
New Member

Fiscal year Months Sorting

Dear All

I am reaching out to seek your assistance with a minor issue I am facing in Power BI. I am trying to display two financial years of months in a table, but I am encountering difficulties with the sorting functionality.

 

To achieve this, I have utilized the following DAX expression to obtain the month numbers: FMONTNUMBER = IF('Dates'[Month Number] > 6, 'Dates'[Month Number] - 6, 'Dates'[Month Number] + 6). However, I have noticed that when I add another year, the sorting of the months becomes incorrect. 

true73_1-1685703498608.png

Whereas when I use a single fiscal year, then it is okay.

true73_2-1685703569847.png

 

 

 

 

 

 

 

1 REPLY 1
Jelena_L
Frequent Visitor

Dear @true73 Could you please give an exampple what is incorret? Thank you. 

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.