Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 jakobjosef
		
			jakobjosef
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
unfortunately a function in qlikview-script is not working correctly:
weekname(date) shows the wrong week - for the 01.01.2021 it should be week "2020-53", but qlikview shows 2021-01; the weeks afterwards are wrong as well...
Is there a possibility that this error gets fixed?
Greetings
Jakob
 yassinemhadhbi
		
			yassinemhadhbi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Good morning
In QlikView variables ( Main tab : first tab in the script ) make sure that the variable BrokenWeeks is set to 0
 Taoufiq_Zarra
		
			Taoufiq_Zarra
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		@jakobjosef for example
=weekname('01/01/2021',0) gives :
 yassinemhadhbi
		
			yassinemhadhbi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Good morning
In QlikView variables ( Main tab : first tab in the script ) make sure that the variable BrokenWeeks is set to 0
 
					
				
		
 jakobjosef
		
			jakobjosef
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Dear Yassinemhadbi,
this was exactly what I was looking for. Thank you so much for your hint, i would have never tried it this way. 
Thanks a lot, also to your hint Taofiq!
Jakob
