Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
nitricpyro
New Member

Start date range at Oct and DISPLAY based on Fiscal Year

I'm sorry but I've looked and looked; please excuse me if this is redundant. 

 

I have a project where the data is in calendar years, my date table is in calendar dates etc. but I need to report on Fiscal year. 

Ex:

10/2021 = Period 1, Q1, FY22

11/2021 = Period 2, Q1, FY22

etc. etc. 

9/2022 = Period 12, Q4, FY22

 

...

 

I've tried everything to get things to line up... I've added a sort column, a second dates table and linked in to the first table, custom sorts etc. 

 

Is there truly no way to simply tell Power BI Desktop to "Start with October, then November, then Dec, then Jan... etc."

3 REPLIES 3
Anonymous
Not applicable

Hi @nitricpyro,

You can take a look at the following link to create a custom sort table if helps:

Custom Sorting in Power BI 
Regards,

Xiaoxin Sheng

Ashish_Mathur
Super User
Super User

Hi,

In the Dates table, write calculated column formulas to extract Month Name and Month number.  Create a seperate 2 column table (name it as Month order).  In the first column of the Month order table, write down all the months and in the second column assign numbers to tell the order of the months - so Octoboer should have 1, November 2 and so on.  Build a relationship from the Month name column of the Dates table to the Month name column of the Month order table.  In the Dates Table, write a calculated column formula to extract Order: Order = related('Month order'[Order]).  In the Dates Table, sort the Month name by the Order column.  Write this calculated column formula to get the Financial Year

Financial Year = if(Date[Month number]>=10,year(Date[Date])&"-" &year(Date[Date])+1,year(Date[Date])-1&"-" &year(Date[Date]))

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

There is a way, but only for some functions. 

TOTALYTD function (DAX) - DAX | Microsoft Docs  - note that you can specify the END date of the fiscal year, in your case "09/30" or "30/09"  depending on your locale)

It won't work for fiscal quarters, for example.

 

"my date table is in calendar dates" - what prevents you from adding the fiscal calendar columns (Fiscal Year, Fiscal Quarter, Fiscal Month) ?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.