YOY Growth Showing -100%

ec1957

New Member
Joined
Jul 29, 2008
Messages
31
All

Calculating YOY growth, 2014 over 2013 using powerpivot, . The calculation works just fine, however, in a pivot the following happens when there is a value for 2013 and not for 2014. Example

Year 2013
Cust1 value of 50
Cust2 value of 100
Cust3 value of 200

Year 2014
Cust1 value of 100
Cust2 value of 200

My pivot will return the following;

Cust1 100%
Cust2 100%
Cust3 -100%

Since Cust3 did not do business in 2014, I don't want it showing up in the pivot with a -100%. Any thoughts would be appreciated

=CALCULATE([SumGross],DATEADD(Calendar[Date], -1,Year))

Which feeds my YOY calculation;

=([Total Gross YTD]-[Total Gross LY])/[Total Gross LY]

I'm a real newby to this powerpivot thing, any help would be appreciated. Thank you.
 

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
The easiest is probably
=IF ([Total Gross YTD] = BLANK(), BLANK(), ([Total Gross YTD]-[Total Gross LY])/[Total Gross LY])

Note you should also convert A/B to DIVIDE(A,B) so that when B is 0/blank, you get a BLANK() instead of an error.
 
Upvote 0

Forum statistics

Threads
1,224,019
Messages
6,175,960
Members
452,688
Latest member
spookralls

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