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

Fiscal Year Starting from Feb

Hello All,

 

How Do I calculate TOTALYTD,TOTALMTD for a fiscal year starting from Feb.  1Can some one please guide me?

 

Thanks

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

 

How about this measure

 

=CALCULATE(SUM(Data[Value]),DATESYTD(Calendar[Date],"31/1"))

 

There should be a Calendar Table and a relatiosnhip from the Date column in your Data Table to the Date column of your Calendar Table.


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

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

 

How about this measure

 

=CALCULATE(SUM(Data[Value]),DATESYTD(Calendar[Date],"31/1"))

 

There should be a Calendar Table and a relatiosnhip from the Date column in your Data Table to the Date column of your Calendar Table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-danhe-msft
Employee
Employee

Hi @Anonymous,

Based on my test, you could refer to below formula:

TOTALYTD = TOTALYTD(SUM('Table'[Value]),'Table'[Date],FILTER('Table',MONTH('Table'[Date])>2))
TOTALMTD = TOTALMTD(SUM('Table'[Value]),'Table'[Date],FILTER('Table',MONTH('Table'[Date])>2))

Result:

1.PNG

You could also dowanload the pbix file to have a view.

 

 

Regards,

Daniel He

 

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi,

 

We would need more information about how your data set is structured. In your data tables, do you have columns for dates, month and fiscal year?

 

I don't think you can use these TOTALYTD functions for Fiscal Year starting in Feb but you can easily add a column in your query with an if statement on the date. Edit your query and add a costum column with a formula similar to this:

IF(Month([DATE])>2,"FY"&Year([DATE])+1,"FY"&Year([DATE]))

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.