Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 ananyaghosh
		
			ananyaghosh
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
I need to show previous week's data from the attached QVD based on the current date, means current date's previous week will be calculated and data will have to be shown according to that week.
Please let me know how to achieve that.
Thanks,
Sandip
 parul_mehta
		
			parul_mehta
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Please try this for the previous week calculation based on Order Date
Sum({<[Order Date] = {'$(=Date(Max([Order Date])-7))'}>}sales)

 parul_mehta
		
			parul_mehta
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi
Please check this. It works for last week calculation

 
					
				
		
Hi Sandip,
Hope you are well.
Have you had a chance to look at the replies yet?
