Forum Discussion

true73's avatar
true73
New Member
3 years ago

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. 

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

 

 

 

 

 

 

 

1 Reply