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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Kudoed Authors