Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
I have a sheet called data and a sheet called points. I want to join the score1, score2, score3, score4 from the data sheet to the points sheet. Take the weight from the point sheet muliple it by the data sheet and sum it up for each company.
 
					
				
		
 arsal_90
		
			arsal_90
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Please find the attached file and let me know is this the desired result
 Aurelien_Martin
		
			Aurelien_MartinHi,
CrossTable(Name,Data, 1)
LOAD Comp,
Score1,
Score2,
Score3,
Score4
FROM
[testdata.xlsx]
(ooxml, embedded labels, table is Data);
Directory;
LOAD Name,
Weight
FROM
[testdata.xlsx]
(ooxml, embedded labels, table is Weight);
Best,
Aurélien
 
					
				
		
 rustyfishbones
		
			rustyfishbones
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		You can use CrossTable.
See the blog post currently available in your Qlik Community home tab

Regards
Alan
 
					
				
		
Look at the attacched file...
Hope this helps
 
					
				
		
How do I also have another column that is the sum of all the multiplied scores?
 
					
				
		
 arsal_90
		
			arsal_90
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Can u elaborate your result in excel file. I understand what u need but if you display column wise result then it fesible for me to clearly understand your requirement
 
					
				
		
Look this new example in the attacchemnt.
Hope this helps.
 
					
				
		
Try this
Test4:
CrossTable(Name,Score,1)
LOAD Comp, 
Score1, 
Score2, 
Score3, 
Score4
FROM
C:\testdata.xlsx
(ooxml, embedded labels, table is Data);
Left Join
LOAD Name, 
Weight
FROM
C:\testdata.xlsx
(ooxml, embedded labels, table is Weight); 
Chart Exp:
=SUm(Score)
=Sum(Weight)
=Sum(Score*Weight)
If this is not correct then reply with your required result..
 
					
				
		
 stevedark
		
			stevedark
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		With a left join there you run the risk of duplicating rows in the main table with duplicate weights. I would suggest an ApplyMap, or simply leaving as an association.
