Dax Running Total By Year

dhsilv2

Board Regular
Joined
Jul 8, 2014
Messages
54
Hi all,

I hope this is the right forum, I'm attempting to create a formula in power pivot to show a running total. I however want to be able to compare the running total through each month and week today year over year.

=calculate(
sum(ReceiptsDat[LocalCurrncy2+]),
filter(all(WeekMap[Date]),'WeekMap'[Date] <= Max (WeekMap[Date])))

This was my first attempt, but as I'm removing filters, this includes data from prior years and doesn't allow me to filter for the year.

Ultimately I'm attempting to graph this showing money received (ReceiptsDat table) by week (defined by the WeekMap table) and month (also defined by WeekMap) and to also show it cumulatively.

Any help would be greatly appreciated and hopefully this is the right place for this question.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Have you solved this one yet? I can help but would need to know the format of your WeekMap table in order to use the correct formulas. Are you able to provide a sample perhaps of this table?
 
Upvote 0

Forum statistics

Threads
1,214,947
Messages
6,122,413
Members
449,082
Latest member
tish101

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