Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear Friends,
Why this pivot table getting problem
Please check the calculation? Sum. Left of everything is working but this is not working
Correct Value is - 30, But here showing 29.
Can i know what is modification i required
 PrashantSangle
		
			PrashantSangle
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
do same as whichever solution work?? which work aggr() or adding P_Des-={"All Plants"} in set analysis?
try below
using aggr()
=sum(aggr(sum({<[Master Month]={">=1 <=$(vMaxMonth)"},C_DESCRIPTION={'Reportable','Recordable','Restricted work Cases','Lost Work Cases'}>} S_COUNT),C_DESCRIPTION,P_Des))
or
sum({<[Master Month]={">=1 <=$(vMaxMonth)"},C_DESCRIPTION={'Reportable','Recordable','Restricted work Cases','Lost Work Cases'},P_Des-={"All Plants"} >} S_COUNT)
I will suggest remove calculated dimension and update set analysis, because calculated dimension is performance killer.
Regards,
 
					
				
		
please share the expression. this may be happening because of DISTINCT clause in your expression
 
					
				
		
 qlikview979
		
			qlikview979
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Anil,
Can you share your file
Regards
 tresesco
		
			tresesco
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		What is the expression you are using for that column? What is the dimension?
 antoniotiman
		
			antoniotiman
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Do You have some rounding ?
 
					
				
		
Hi Anil
What number format are you using? It looks possible it could be a rounding issue as it seems strange the other columns add correctly. Can you share your app or expression please.
Kindest Regards
 
					
				
		
 narendiran
		
			narendiran
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Anil,
Could you supply few more details, please.
To do cross check you can also check the same with straight table or table.
 
					
				
		
 awhitfield
		
			awhitfield
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Anil,
please upload your qvw, the right hand column doesn't add up either, it should be 45!
Andy
 
					
				
		
 qlikview979
		
			qlikview979
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Anil,
I Think
Right side last column also showing wrong count 41 ,actual count is 45 please up lode your file.
Regards
Hey,
Here i am using Two dimensions one C_Description, Which is has 4 names and
P_Des which is has 4 names
Expression for week - =sum({<C_DESCRIPTION={'Reportable','Recordable','Restricted work Cases','Lost Work Cases'} >} S_COUNT)
For YTD - =sum({<[Master Month]={">=1 <=$(vMaxMonth)"},C_DESCRIPTION={'Reportable','Recordable','Restricted work Cases','Lost Work Cases'}>} S_COUNT)
