Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        
            
                
                    
                        
                            
                                | Author | 
                                
                                 Topic  | 
                             
                            
                                    | 
                                         Praz 
                                        Starting Member 
                                         
                                        
                                        9 Posts  | 
                                        
                                        
                                            
                                            
                                             Posted - 2013-03-06 : 19:36:21
                                            
  | 
                                             
                                            
                                            | Hi,In a table i need to sum up one text box value and display it in another. The challenge is based on groupby- population the summation should happen (i.e),Country-India                 Sum(population)              Population                    Sum(10000+10000)                State A                          100000            State B                           10000Country-XXX                 Sum(population)Population                   Sum(state)     State-A                            1000000I tried using reportitems its not working and also calculated fields.RegardsPraz | 
                                             
                                         
                                     | 
                             
       
                            
                       
                          
                            
                                    | 
                                     visakh16 
                                    Very Important crosS Applying yaK Herder 
                                     
                                    
                                    52326 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-06 : 23:28:14
                                          
  | 
                                         
                                        
                                          | have you applied group by over country field?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     Praz 
                                    Starting Member 
                                     
                                    
                                    9 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-07 : 16:15:42
                                          
  | 
                                         
                                        
                                          | Yes the Group by is applied for country as well.  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     visakh16 
                                    Very Important crosS Applying yaK Herder 
                                     
                                    
                                    52326 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-08 : 00:19:57
                                          
  | 
                                         
                                        
                                          | can you show your group by part?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                            
                                | 
                                    
                                      
                                     
                                    
                                 | 
                             
                         
                     | 
                 
             
         |