Tricky measure; accumulated actual with "end"

toblju

New Member
Joined
Aug 16, 2012
Messages
9
I our model we have a measure for accumulate actual amount, which works fine. Looks like this:
Actual acc SEK:=IF(COUNTROWS(LogFile_2_tblBookkeeping)>0;CALCULATE([Actual SEK];FILTER(ALL('Date'[Date]);'Date'[Date]<=MAX(('Date'[Date]))));BLANK())

The measure Actual SEK, which is used in above formula, looks like this:
Actual SEK:=CALCULATE(sum([dABookkeepingAmount]);LogFile_2_tblBookkeeping[sBookkeepingSource]="SIE";LogFile_2_tblBookkeeping[datBookkeepingDate]<DISTINCT(Period[Current period]))

The value in the table/column Period[Current period] in formula above, is the current month-end date (selected by the user).

Data per month; Jan 100; Feb 150; Mar 170; Apr 200

If month-end date is set to 31st of March the measure shows 420 (which is correct because April and forward should be Forecast figures).
The problem is when showing this in a chart April and forward will also show 420. We would like April and forward to show "nothing".

Any suggestions?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Looks like you might have left off a meaningful date filter criteria at the end of the formula for Actual_SEK.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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