Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 agni_gold
		
			agni_gold
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi All ,
Can we do this ,
I have a requirement , i have a variable which is created in scripting , and my chart is using today function for date , now i want that if my variable condition is true then today will today
if condition is false the today will not be today it will be at some other date.
Thanks
Agnivesh
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Can you provide some details on what variable are we talking about. What exactly are you trying to do? Right now, any solution will be just a guess work
UPDATE: I will try to make a guess:
Field:
Date
SearchString
If(ConditionMet = vVarToday, vVarAnotherDate)
 Peter_Cammaert
		
			Peter_Cammaert
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Replace all your today() calls in expressions with a $(vToday) expansion, and in the variable overview define vToday as
=IF ($(vSetInScript), today(), $(vOtherdate))
You can replace $(vOtherDate) with whatever value 'some other date' means, or you can set the value for vOtherDate in your script as well.
Best,
Peter
 
					
				
		
 agni_gold
		
			agni_gold
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I want to restrict today function value one opening based on condition.
Suppose if i open my dashboard tomorrow then it should not show tomorrow date , it is based on some condition.
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Use an if statement in your OnOpen Trigger
 
					
				
		
 agni_gold
		
			agni_gold
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		In on open trigger , if i use any condition , then can it be change today() function value.
