Hi there,
I'm having trouble calculating the values of two fields in my pivot table using Calculated Field. The value field settings is being displayed as % of row total. The Column labels (Detractor, Passive and Promoter) are taken from the field called "NPS2". I'm trying to get the pivot to display the following results (Promoter - Detractor). I've tried a whole bunch of things after looking through countless forums. I'm new to pivot tables and the Calculated Field dialogue. According to other forums, I should just be able to enter "= ('Promoter'-'Detractor')" or "= (Promoter - Detractor)" in the Calculate Field formula, but that doesn't work. Here's the data in the pivot.
[TABLE="width: 404"]
<tbody>[TR]
[TD]Row Labels[/TD]
[TD]Detractor[/TD]
[TD]Passive[/TD]
[TD]Promoter[/TD]
[TD]Grand Total[/TD]
[/TR]
[TR]
[TD]7/4/2016[/TD]
[TD="align: right"]0.00%[/TD]
[TD="align: right"]50.00%[/TD]
[TD="align: right"]50.00%[/TD]
[TD="align: right"]100.00%[/TD]
[/TR]
[TR]
[TD]7/5/2016[/TD]
[TD="align: right"]14.29%[/TD]
[TD="align: right"]28.57%[/TD]
[TD="align: right"]57.14%[/TD]
[TD="align: right"]100.00%[/TD]
[/TR]
[TR]
[TD]7/6/2016[/TD]
[TD="align: right"]50.00%[/TD]
[TD="align: right"]50.00%[/TD]
[TD="align: right"]0.00%[/TD]
[TD="align: right"]100.00%[/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col></colgroup>[/TABLE]
Can anybody help please?
I'm having trouble calculating the values of two fields in my pivot table using Calculated Field. The value field settings is being displayed as % of row total. The Column labels (Detractor, Passive and Promoter) are taken from the field called "NPS2". I'm trying to get the pivot to display the following results (Promoter - Detractor). I've tried a whole bunch of things after looking through countless forums. I'm new to pivot tables and the Calculated Field dialogue. According to other forums, I should just be able to enter "= ('Promoter'-'Detractor')" or "= (Promoter - Detractor)" in the Calculate Field formula, but that doesn't work. Here's the data in the pivot.
[TABLE="width: 404"]
<tbody>[TR]
[TD]Row Labels[/TD]
[TD]Detractor[/TD]
[TD]Passive[/TD]
[TD]Promoter[/TD]
[TD]Grand Total[/TD]
[/TR]
[TR]
[TD]7/4/2016[/TD]
[TD="align: right"]0.00%[/TD]
[TD="align: right"]50.00%[/TD]
[TD="align: right"]50.00%[/TD]
[TD="align: right"]100.00%[/TD]
[/TR]
[TR]
[TD]7/5/2016[/TD]
[TD="align: right"]14.29%[/TD]
[TD="align: right"]28.57%[/TD]
[TD="align: right"]57.14%[/TD]
[TD="align: right"]100.00%[/TD]
[/TR]
[TR]
[TD]7/6/2016[/TD]
[TD="align: right"]50.00%[/TD]
[TD="align: right"]50.00%[/TD]
[TD="align: right"]0.00%[/TD]
[TD="align: right"]100.00%[/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col></colgroup>[/TABLE]
Can anybody help please?