I'm trying to calculate the difference in TY vs LY numbers in a pivot table. My set up is:
Rows:
Client Name
Sale Date (grouping by month)
Columns:
Years (for the TY vs LY comparison)
Sum Values:
Sum of Sales
For example
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]2018[/TD]
[TD]2019[/TD]
[/TR]
[TR]
[TD]Client 1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]May[/TD]
[TD]100[/TD]
[TD]1000[/TD]
[/TR]
</tbody>[/TABLE]
I want to insert a field to show the difference so I'm thinking it's a calculated field using difference from but I can't figure out how to make that work. Thanks for any help.
Rows:
Client Name
Sale Date (grouping by month)
Columns:
Years (for the TY vs LY comparison)
Sum Values:
Sum of Sales
For example
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]2018[/TD]
[TD]2019[/TD]
[/TR]
[TR]
[TD]Client 1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]May[/TD]
[TD]100[/TD]
[TD]1000[/TD]
[/TR]
</tbody>[/TABLE]
I want to insert a field to show the difference so I'm thinking it's a calculated field using difference from but I can't figure out how to make that work. Thanks for any help.