Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
I'm trying to add a "Calculated Dimension" into a Pivot Table. I have a field name called "Ontime Performance" and the values are as below:
OnTime Performance
==================
OnTime
Late
OnTime
Late
Late
Late
Late
OnTime
I would like to count only "OnTime" values from the list. What function should I use in QlikView Expression Builder?
 
					
				
		
 er_mohit
		
			er_mohit
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		in expression write
count({<[OnTime Performance]={'OnTime'}>}distinct [OnTime Performance])
for use only OnTime in add calculated dimension for this
pick(Match([OnTime Performance],'OnTime'),'OnTime')
 Gysbert_Wassena
		
			Gysbert_WassenaTry: sum({<[OnTime Performance]>={'OnTime'}>}1)
 
					
				
		
 er_mohit
		
			er_mohit
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		in expression write
count({<[OnTime Performance]={'OnTime'}>}distinct [OnTime Performance])
for use only OnTime in add calculated dimension for this
pick(Match([OnTime Performance],'OnTime'),'OnTime')
 
					
				
		
IF([OnTime Performance] = 'OnTime',COUNT([OnTime Performance]))
**************************************************************************
OR ALSO TRY THIS
IF([OnTime Performance] = 'OnTime',[OnTime Performance])
