Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 parul_mehta
		
			parul_mehta
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I am able to pass variable date ( vDate) from one qvw to the other ( vDate1) using a button click.
in the second qvw I want to display the data in straight table using that variable vDate1
such that dimension Date in the table should only display data as per value received in vDate1 variable.
Please suggest.
 trdandamudi
		
			trdandamudi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		One of possible way is:
1) Say you passed a variable vDate to vDate1 (Assume you have 5/2/2017 in vDate1)
2) Then in the straight table in the expression use the following expression:
Say you have a field called 'Amount', then in the expression :
=Sum({<Date={'$(vDate1)'}>} AMOUNT)
Note: If you have multiple expression then you need to include the set {<Date={'$(vDate1)'} in all the expressions.
Hope this helps...
 trdandamudi
		
			trdandamudi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		One of possible way is:
1) Say you passed a variable vDate to vDate1 (Assume you have 5/2/2017 in vDate1)
2) Then in the straight table in the expression use the following expression:
Say you have a field called 'Amount', then in the expression :
=Sum({<Date={'$(vDate1)'}>} AMOUNT)
Note: If you have multiple expression then you need to include the set {<Date={'$(vDate1)'} in all the expressions.
Hope this helps...
 parul_mehta
		
			parul_mehta
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thanks Thirumala.
I used the expression, and was able to display the values as per vDate1.
and then hid the expression column in presentation - Hide Column. ( As I don't require to show the sum or any other expression )
Attached the document with details of how to pass variable from one qvw to other. for reference
 trdandamudi
		
			trdandamudi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		You are welcome...
