cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Last YTD DAX calculation by Fiscal Year

We are having issues where our fiscal year is more than 365 days and we are finding that the yeartodate DAX functions are not bringing in the correct results even though we have a year column.

 

Questions is what is the best way to specify Year to date for this year and previous year based on our table.

 

Thanks in advance.

1 ACCEPTED SOLUTION
v-haibl-msft
Microsoft
Microsoft

@Anonymous

 

The dates parameter in TOTALYTD and DATESYTD is a calendar date column. Generally, both of these functions can be used to calculate YTD. There are good examples in these two links (1, 2).

I’m not sure how you define the fiscal year and make it more than 365 days. If possible, could you please give a sample data and the expected result you want to get?  

 

Best Regards,

Herbert

View solution in original post

2 REPLIES 2
v-haibl-msft
Microsoft
Microsoft

@Anonymous

 

The dates parameter in TOTALYTD and DATESYTD is a calendar date column. Generally, both of these functions can be used to calculate YTD. There are good examples in these two links (1, 2).

I’m not sure how you define the fiscal year and make it more than 365 days. If possible, could you please give a sample data and the expected result you want to get?  

 

Best Regards,

Herbert

Anonymous
Not applicable

Hi,

 

Thanks for answering, we use a 445.

 

Every seven years there is an additional week in the year.  We managed to get round it by making a fiscal table which converts the date in a fake fiscal date and then use the fake as our Date column...

 

Thanks

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors