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
dluhut
Frequent Visitor

DAX YTD via PowerPivot

Hello,

 

I am using Excel 2013 PowerPivot. Thus would appreciate if you could help me out using DAX that's in PowerPivot Excel 2013.

 

What I am trying to accomplished here is to have the YTD.

 

I am sorry I can't upload a sample due to confidentiality, but I have tried my very best in giving the necessary information. If it's not enough, please let me know and I can upload more.

 

As you can see in the attached pictures, I have a fact table, 'FIN Trial Balance', but due to different fiscal period end, some being in December, some being in April, and some being in August, thus, in order to calculate the YTD and to be in the same 'period', I have thus created a 'Fiscal Calendar Date'.

 

I have tried https://community.powerbi.com/t5/Desktop/DAX-Running-Total-YTD/m-p/21576/highlight/true#M6692  and  http://www.daxpatterns.com/cumulative-total/ but my YTD is still the same as MTD.

 

May I know what did I do wrong here?

 

FYI, my 'Calendar Date' and 'Fiscal Calendar Date' are in 1/1/20xx (Jan), 2/1/20xx (Feb), ... ... , 11/1/20xx (Nov) and 12/1/20xx (Dec). They are in months and not day.

 

Also, the 'month' slicer is from 'Calendar DateTable'[Month], so that user's thought of calendar reflect calendar date.

 

Calendar & Fiscal Date Relationship.xlsx.pngPnL MTD Actual.pngPnL YTD Actual.png

 

 

 

3 REPLIES 3
dluhut
Frequent Visitor

Any experts here able to help me out?

 

I believe my problem is that, the slicer 'Month' is taken from the 'Calendar Date Table'.

 

However, my DAX formula here is not taking into consideration the 'link' between 'Calendar Date Table' and 'Fiscal Calendar DateTable'.

 

Thus, is there a way for the YTD to know taking the beginning to the 'end' of the month of the 'Fiscal Calendar DateTable' via the 'Month' slicer of 'Calendar Date Table'?

Hi,

 

Upload a summy dataseta and how your expected result


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

HI @dluhut.


For these refer links which you mention, they use the calculated column to get the result. Please make sure if you are use these formula in calculated column.

 

BTW, if your requirement is about power pivot, you can post it at below forum.

Msdn forums - Power Pivot - Microsoft

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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.