How to start cumulative measure from zero

jack10063

Board Regular
Joined
Aug 12, 2008
Messages
103
Hi,

I have tried to create a DAX measure that calculates cumulative market value change. It is working nicely except for the first date. I have data for years 2013, 2014 and 2015 and if I use slicer to get only change for 2015 the starting value for this measure includes also changes from years 2013 and 2014. See below current measure below:

=CALCULATE([cf_market_value_change];FILTER(ALL(SystemDate[Date]);SystemDate[Date]<=MAX(SystemDate[Date])))

br,
Jack
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Can you try changing your ALL to an ALLSELECTED and see if that gives what you want?
 
Upvote 0

Forum statistics

Threads
1,225,562
Messages
6,185,672
Members
453,314
Latest member
amitojsd

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