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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
kapil512
Helper II
Helper II

DAX Function for TOTALYTD and TOTALMTD for FiscalYear and FiscalMonth

Hi,

 

Any one can please help me out the below senario?

 

I have the data and date tables as marked in SSAS and now i want to caluculate the (TOTALYTD,TOTALMTD,PreviousYTD,PreviousMTD) and which month is starting from (Dec-NOV).

 

and i have the Fiscal month and fiscal year columns in my date table.

 

i have used to different senarios to get the result.

 

Can anyone give the exact the DAX functions for those caluculation?

 

Thanks,

Kapil

 

 

2 ACCEPTED SOLUTIONS
v-qiuyu-msft
Community Support
Community Support

Hi @kapil512,

 

You can go through these similar threads firstly: 

 

http://community.powerbi.com/t5/Desktop/Last-YTD-DAX-calculation-by-Fiscal-Year-Leap-Year/td-p/14083...

http://community.powerbi.com/t5/Desktop/MTD-Comparison-to-same-period-last-year/td-p/188900

 

If you are not able to create your own measures, please share some dummy data and clarify the desired results for our  analysis. 

 

Best Regards,
Qiuyun Yu 

 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thank you so much Qieyun.

 

its worked 😉

 

Thanks,

Kapil

View solution in original post

2 REPLIES 2
v-qiuyu-msft
Community Support
Community Support

Hi @kapil512,

 

You can go through these similar threads firstly: 

 

http://community.powerbi.com/t5/Desktop/Last-YTD-DAX-calculation-by-Fiscal-Year-Leap-Year/td-p/14083...

http://community.powerbi.com/t5/Desktop/MTD-Comparison-to-same-period-last-year/td-p/188900

 

If you are not able to create your own measures, please share some dummy data and clarify the desired results for our  analysis. 

 

Best Regards,
Qiuyun Yu 

 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you so much Qieyun.

 

its worked 😉

 

Thanks,

Kapil

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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