Page 1 of 1

Ch 16 Creating a Harvester Calculated Field

Posted: Wed Oct 05, 2016 11:02 pm
by Kelly
I have followed all of the steps to create the Harvester for % increase but my Total Margin with Selected Increase always calculates a 15% increase--so it is not "harvesting" the selected value. Any ideas?
Harvester.JPG
Harvester.JPG (49.57 KiB) Viewed 6186 times


[Selected Value]=MAX (Increase[Value])

[Total Margin with Selected Increase]=[Total Margin $] * (100 + [Selected Value])/100

Re: Ch 16 Creating a Harvester Calculated Field

Posted: Sun Oct 16, 2016 3:33 pm
by MattAllington
Hi Kelly, sorry I missed your post Last week. Everything I can see looks correct. Is the slicer connected to the pivot table? My guess is that it is not.

Re: Ch 16 Creating a Harvester Calculated Field

Posted: Tue Jan 17, 2017 4:11 pm
by Sarmyles
Matt,
I had the same problem and your solution is correct - the pivot table was not connected. Why does this need to be done manually ?

Re: Ch 16 Creating a Harvester Calculated Field

Posted: Tue Jan 17, 2017 8:17 pm
by MattAllington
If you first select a pivot table, then add a slicer (right click on the column in the field list and select "add as slicer") it will automatically be connected. If you have not selected the pivot table and you "insert slicer" from them menu, it will not be connected and you will have to connect it manually. It makes sense actually. If here are 5 pivots in a page and you add a slicer, which ones should be attached? It depends of course and his way you have control.

Re: Ch 16 Creating a Harvester Calculated Field

Posted: Sat Sep 07, 2019 6:32 am
by alex
Hello, I have exactly the same problem shared by Kelly,
The slicers are ok, formulas as well, but the Total Margin with selected Increase is not getting updated although I change the Selected Value.
Is there any solution for this issue found?
Do appreciate the help.

Re: Ch 16 Creating a Harvester Calculated Field

Posted: Sat Apr 24, 2021 12:22 pm
by Jobahead
I too faced the same issue. Resolved by modifying a few steps based on Matt's Practice Exercise 70 in his book Supercharge Excel.
Modified Steps
1. Create a list of possible values 1 to 15 with header Value
2. CTRL+L or CTRL+T to create Excel table
3. Rename Table as Increase
4. Select any cell in the table, go to the Power Pivot Tab and select Add to Data Model
5. Do not link this table to any other
6. Create a Pivot table with
a. Product Category (in Rows)
b. Calendar Year (in Filter)
c. Total Sales (in ∑Values)
d. Total Margin (in ∑Values)
7. Select this pivot table and create a Measure
Selected Value = MAX(Increase[Value]) ([color=#4040FF]Do not create a separate Pivot table for Value)[/color]
8. On the Field List, right click on the Value field, and “Add as Slicer” ([color=#4040FF]Do not add the slicer from the Excel ribbon (Insert -> Slicer)[/color]


9. Select this pivot table and create the measure to show the changed Total Margin$
Total Margin with Selected Increase = [Total Margin$]*(100 + [Selected Value])/100

The values should now change based on the Slicer selection.