Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
Hi,
I have a pivot table where the invoice values are shown by month and year. I managed to write an expression to calculate the delta percentage: ([Current Year]-[Previous Year])/[Previous Year]. This is being displayed in a separate pivot table.
Now to save some space on the sheet and to make it visually more appealing I would like to incorporate both the invoice values and the delta percentages in one pivot table. As you can see in attached print screen simply pasting the delta percentage expression did not do the trick.
Does someone have a solution for this?
P.S. I already found some information in another thread (Add a calculated column to pivot table with set analysis) where the solution of a dummy dimension is mentioned. Unfortunately I do not understand how this works.
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Is this what you want:
(Sum([Invoice Value]) - Before(Sum([Invoice Value])))/Before(Sum([Invoice Value]))
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Is this what you want:
(Sum([Invoice Value]) - Before(Sum([Invoice Value])))/Before(Sum([Invoice Value]))
 
					
				
		
Hi Sunny,
That's 99% what I was looking for. Thx.
About the 1%. Is there a possibility to hide the below column as this is not relevant or is this inherent to a pivot table?

 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Is this always going to be a comparison between two years or could there be more than 2 years in this chart?
 
					
				
		
It's always going to be a comparison between two years.
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Would you be able to re-run the application for me with a new table in it?
Dim:
LOAD * INLINE [
DIM
1
2
];
 
					
				
		
Sure. See attachment.
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		My bad Tom, would you be able to run it with this:
Dim:
LOAD * INLINE [
DIM
1
2
3
];
I underestimated the need for the 3 in the DIM field. I apologize for asking over and over again to do this 
 
					
				
		
No problem Sunny. It's you that is helping me so I don't mind.
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Try the attached
