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
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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

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.