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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BigKev
Helper III
Helper III

Financial Year Calendar

Hi All,

 

Could you please share some insight on the DAX queries on creating FY Calendar (FY, FY Month Year, FY Quarter, etc).

Also, in the 'FY' column, instead of showing just one year, how can we show two? e,g: FY 19/20, FY 20/21, FY 21/22..

 

Thank you

 

Cheers,

Kev

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

5 REPLIES 5
Greg_Deckler
Super User
Super User

@BigKev I created one of these recently, haven't had a chance to put it in the quick measures gallery yet but I attached the PBIX file below my sig. I'll test out a way to get FY 19/20 but looks like a string parsing, subtraction and concatenation so shouldn't be too taxing.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Fowmy
Super User
Super User

@BigKev 


Follow these links to create a Fiscal Calendar based on your requirement:

https://radacad.com/create-a-date-dimension-in-power-bi-in-4-steps-step-2-fiscal-columns
https://www.andresoftwaredevelopment.com/community/blogs/powerbi/fiscal-calendar/

 

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

amitchandak
Super User
Super User

@BigKev , How your FY start. Is it the same as the calendar year? Can you elaborate?

 

You can refer my blog on FY -https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calend...

 

Video -

CY -https://youtu.be/Qt0TM-4H09U

FY - https://youtu.be/w4U6Bi_fPek

 

Hi Amit,

 

My FY start on 01/09 - 31/08 every year.

 

Could you please provide guidance using the calendarauto(08) function?

 

Cheers,

Kev

Hi @BigKev ,

 

As the document says:

  • An error is returned if the model does not contain any datetime values which are not in calculated columns or calculated tables.

  • This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.

The above methods of customizing the calendar table all work.

Based on your needs, simply change the FY column to this:

FY = IF([MonthNo]<9,[Year]-1&"/"&[Year],[Year]&"/"&[Year]+1) 

Sample .pbix

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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