Scenario based
	
    
    If I have a source as below:
Employeed, FamilyId, Contribution
1,A,10000
2,A,20000
3,A,10000
4,B,20
5,B,20
________________________________
And my desired target is as below:
EmployeeId,Contribution(In Percent)
1,25%
2,50%
3,25%
4,50%
5,50% 
____________________________________________________________________________
Explanation: The contribution field in target is the individual Employee's share in a family's contribution.Say if total family contribution is 40000 then if A has contributed 10000 then target should have a value of 25%.
____________________________________________________________________________
Can you please suggest me an approach to solve the specified problem?
Thanks,
	
	
	
	
		
	
		
    
Questions by sohamasmi
	
    
          
              
            
              
                         
              
                    
              
              
     
    Showing Answers 1 - 19 of 19 Answers
			
				
				
       
       
		    
    
    
        
			
    
        
			
    
        
			
    
        
			
    
        
			
    
        
			
    
        
			
    
        
			
    
        
			
    
        
			
	
		
	
 
          
              
        
              
                      
              
                                   
  
                        
        Related Answered Questions
          
           
                              
            	
		Related Open Questions
		  
		   
	      
                       
  
                         
                    
            
Scenario based
Employeed, FamilyId, Contribution
1,A,10000
2,A,20000
3,A,10000
4,B,20
5,B,20
________________________________
And my desired target is as below:
EmployeeId,Contribution(In Percent)
1,25%
2,50%
3,25%
4,50%
5,50%
____________________________________________________________________________
Explanation: The contribution field in target is the individual Employee's share in a family's contribution.Say if total family contribution is 40000 then if A has contributed 10000 then target should have a value of 25%.
____________________________________________________________________________
Can you please suggest me an approach to solve the specified problem?
Thanks,
Questions by sohamasmi
Related Answered Questions
Related Open Questions