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
damit23183
Employee
Employee

Create New Financial Year , Month, Quarter columns in Date table

HI,

 

I do have Date Table which has regular calendar set up from January to December.

However, my client's financial year start from Oct. So i would like make columns with new data in.

 

What I have :

  Table.JPG

 

 

 

 

 

 

 

What I am looking for:

Table.JPG

Forgot to add FY Month ...I am also looking for FY month column.

 

Thanks

1 ACCEPTED SOLUTION

Hi All,

 

I got the solution just use and mix up formula from Amit and Ashish which worked perfectly fine.

 

Just changed and play around DAX formula that worked.

 

Thanky you guys.

 

 

View solution in original post

7 REPLIES 7
Ashish_Mathur
Super User
Super User

Hi,

Try these calculated column formulas

Quarter = if(month(calendar[date])>=10,1,if(month(calendar[date])>=7,2,if(month(calendar[date])>=4,3,4)))

FY = if(month(calendar[date])>=10,year(calendar[date])+1,year(calendar[date]))

Hope this helps.


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

Hi Ashish,

 

Thank you for your response.

 

I tried your formula but didnt work  for QuARTER.

 

Also, for months what will be dax formula?

 

Thanks

amitchandak
Super User
Super User

@damit23183 ,

I have a blog for that for any month. You can refer to this :

Creating Financial Calendar - From Any Month
https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calend...

 

I have attached Oct-Sep Calendar. You can get any other month FY from Blog

 

Hi Amit,

 

Thank you for your response and links it was usefull but didnt work, also not much clear on what has been done there PBIX file. 

 

I went through and applied same logic but does not look like its working as expected.

 

Is there anyway to have simplified DAX formula ?

 

Really appreciate your response.

 

Thanks

Hi All,

 

I got the solution just use and mix up formula from Amit and Ashish which worked perfectly fine.

 

Just changed and play around DAX formula that worked.

 

Thanky you guys.

 

 

Anonymous
Not applicable

Can you post the solution you found? 

Hi,

 

Please refer link sent by Amit Chandak  as well as formula given by Ashish on this post.

 

Thanks

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.