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
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
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.