YTD and MTD performance - Prior Month Data

Tarek78

New Member
Joined
Feb 21, 2021
Messages
46
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone,

I am a complete begginner using Power Pivot within Excel. I heard there were real geniuses here so that's the reason why I ask my question here.

I am extracting some data each beginning of month to analyse prior month information.

I have a simple data model with a period dimension (date, month, year, quarter) along with a fact table where we have all the data that I download on a monthly basis.

I would like to create a formula that gives me the YTD and MTD sales for the given period for the current year and also vs last year.

There is also a small issue: in January 2023, I will download the data to analyse December 2022.

If it not clear, let me know and I will do my best to explain better.

Thanks to everyone!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi Everyone,

I just heard about a TotalYTD DAX function. I think it should do the trick to build a YTD function but which function can I create to give me a comparison vs LY?
 
Upvote 0
A reminder:

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at:
YTD and MTD variances - prior month data

If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Apologies I didn’t know that those two websites were related. Next time I will provide the link.
 
Upvote 0
Hi,

no worries, I will. In the meantime, find attached an example of the model
 

Attachments

  • YoY Data Model.PNG
    YoY Data Model.PNG
    31.5 KB · Views: 12
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top