Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 absekrafi
		
			absekrafi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Dear community,
I added an input box where I enter startdate and enddate in addition to other dimensions.
I have also a "clear selections" button.
I want, when I press the "clear selections" button, all dimensions selections get cleared and the input fields startdate and enddate remain as they are.
is it possible to achieve that?
Thank you,
 absekrafi
		
			absekrafi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
I've got the answer. It's "clear all except field" and you specify the field.
Regards,
 
					
				
		
 chrismarlow
		
			chrismarlow
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Abdallah,
What action is on your clear selections button, as (for me) Clear All seems to leave variables within input box are not changed.
Regards,
Chris.
 absekrafi
		
			absekrafi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		The action in my clear selection button is : Unlock and Clear all.
 
					
				
		
 chrismarlow
		
			chrismarlow
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I cannot replicate that. Your variables are just normal entry, nothing unusual about them?
 absekrafi
		
			absekrafi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		The 2 variables are in date format and they are normal entries.
I set vStartDate = YearStart(Today()) and vEndDate = Today().
These 2 variables can get values between 01/01/2012 and today.
The other dimensions are region, factory, product and sub-product.
I set vStartDate = '01/01/2012' and vEndDate = '31/12/2012'.
When I push "clear selections" the 2 variables become : '01/01/2018' and '08/11/2018': this means that they are cleared too.
 
					
				
		
 passionate
		
			passionate
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		You can do try adding Calendar objects in some other alternate state.
or
if you motive is to keep start and enddate remain same after clear selection then lock selection on start and enddate.
 absekrafi
		
			absekrafi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
I've got the answer. It's "clear all except field" and you specify the field.
Regards,
