Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 smilingjohn
		
			smilingjohn
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		HI All,
Why is this expression not working ?
is there anything that i need to change ?
=sum({$<year=("$(=year(Today())))"}>}runs)
Thanks in Advance
 
					
				
		
 qlikview979
		
			qlikview979
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Instead of Year put "Date"
Yes you have to change it like below
=sum({$<year= {"year = Year(Today())"}>}runs)
 
					
				
		
 swuehl
		
			swuehl
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I think there is one closing ) too much:
=sum({$<year=("$(=year(Today()))"}>}runs)
 prma7799
		
			prma7799
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		=sum({$<YEAR = {"($=Year(Today()))"}>}runs)
 smilingjohn
		
			smilingjohn
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Anil,
This is not working
As stefan notice one parenthesis looks like extra
 smilingjohn
		
			smilingjohn
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		This is giving me the whole total ,
I want to display for the current year today the sum of runs
 smilingjohn
		
			smilingjohn
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		HI stefan ,
THis is what i get the expression higlighted by the red lines ..and is nto giving the desired output
 prma7799
		
			prma7799
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		instead of open braces ( put curly braces {
Try this?
=sum({$<year=('$(=Year(Today()))'}>}runs)
or
=sum({$<year=('$(=Max(year))'}>} runs)
Note - I've seen reply to Stefan. Try above
