Forecasting with PoverPivot (Grand total not ending up correctly)

AdrianM

New Member
Joined
Jul 28, 2014
Messages
1
Hi there,

I'm trying to make a simple forecast for the rest of the year. I have Jan to Jun actuals as monthly values and would like to forecast the rest of the year Jul - Dec, as of Jun actuals for example. Therefore I'm using a disconnected table, where I would select 06 as a parameter for Jun and this would be my forecast base for the upcomming month.

It's working pretty well, however the Grand total on row level in the Pivot don't calculate properly.

Hope anybody has a good idea :)



measures:

Sales Measure:=sumx(Data;Data[Sales])

MonthNoMeasure:==maxx(Data;Data[MonthNo])

ParameterMeasure=if(ISFILTERED(Data[MonthNo]);max(Parameter[MonthParameter]);BLANK())

ForecastMeasure=if (Parameter[ParameterMeasure]<Data[MonthNoMeasure];
calculate(sumx(Data;Data[SalesMeasure]);filter(ALL(Data[MonthNo]);Data[MonthNo] =Parameter[ParameterMeasure]));
sumx(Data;Data[SalesMeasure]))
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Months are on row? I would expect to see some =SUMX(Calender[Month], ...) in your measures.
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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