Dax formula to change the first month of fiscal year.

shophoney

Active Member
Joined
Jun 16, 2014
Messages
281
Hi I have a dCalendar table with all my date. But our financial year starts feb 1. So January is the 12 month of our year and February is the 1st month.

I want to create a sort order in the table.

January 2019 should be listed as month 12 of the 2018 year.

Thanks
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
You can create your own calendar table with what ever you need in it. I show you how here Create a Custom Calendar in Power Query - PowerPivotPro

Hi Matt. Great job on the instructions.

I've already created a table. My issue is our first month of the financial year is february and the last is january.

So february is 1 and january is 12. But i want to index them properly and also have january 2017 as month 12 of the 2016 financial year.

I hope this is clear,

thanks
 
Upvote 0
It was already clear :). Just write a conditional column to change the default to what ever you want. Eg

if column = 1 then 12 else column - 1
 
Upvote 0
Oh. I went to put in your suggestions. And saw i already had this:

=IF(MONTH([DATES])-1=0,12,(MONTH([DATES])-1))

But in order to have January be with the following year. What would you suggest another column adding in the YEAR? How do you push January back?

Thanks
 
Upvote 0
I did reply to this earlier, but something must have happened to it. Yes, you need a calendar year column and then convert that to a fin year column using a similar approach to the one above.
 
Upvote 0

Forum statistics

Threads
1,215,757
Messages
6,126,695
Members
449,331
Latest member
smckenzie2016

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top