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
Anonymous
Not applicable

Convert calendar quarter to fiscal years

Hi PBI community members,

 

I have imported an excel file and the years are in calendar year format 'Other_Labour force'[Year calendar] and I need to change them to fiscal year format. I've put a table below showing the current format and the format I would like to get them to. Screenshot also included. If anyone can help me that would be great, I find converting these calendar years to fiscal to be conceptually challenging. 

 

Cheers,

Brent

 

Current configurationHow I am wanting to display the years
Year calendarYear fiscal

Dec-2010

2010-11
Mar-20112010-11
Jun-20112010-11
Sep-20112011-12
Dec-20112011-12
Mar-20122011-12
......
Jun-20212020-21

 

Brent_C_0-1634815043358.png

 

 

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@Anonymous Generally you would want to have a fiscal calendar, like my DAX 445 fiscal calendar. DAX Custom 445 Calendar - Microsoft Power BI Community. Then, you would want to take the calendar date and essentially lookup the date the using MAXX or LOOKUPVALUE in the fiscal calendar and return the correct value. For example, you could translate Dec-2010 to 12/1/2010 and look it up or alternatively have a column in your fiscal year that provided a column for the calendar year. Hard to be specific without sample data.


@ 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...

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

@Anonymous Generally you would want to have a fiscal calendar, like my DAX 445 fiscal calendar. DAX Custom 445 Calendar - Microsoft Power BI Community. Then, you would want to take the calendar date and essentially lookup the date the using MAXX or LOOKUPVALUE in the fiscal calendar and return the correct value. For example, you could translate Dec-2010 to 12/1/2010 and look it up or alternatively have a column in your fiscal year that provided a column for the calendar year. Hard to be specific without sample data.


@ 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...
Anonymous
Not applicable

Hi @Greg_Deckler and thanks for your advice. 

 

I do have a date dimension table. But I don't have a column in that Dec-2010 format. I'll have a look at the 445 link you sent and then start thinking about creating a Dec-2010 type of column. 

 

I'll probably be back with more questions - but until then: thank you!

 

Cheers,

Brent

Anonymous
Not applicable

@Greg_Deckler thanks. I went into my Date Dimension table and duplicated, split and merged a few columns and got the Dec-2010 format I was after. My methods are probably a bit coarse but they seem to work. Thanks for the tip, it saved me lots of confusion. 

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.