Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

adding two arrays/weighted average

Hello all,

Let's suppose I have a number of arrays, and I wish to add them together to find a weighted average, for example:

[array3] = [array1]*weight1+[array2]*weight2

How do I go about this in QV? I think the problem is that QV is not able to add individual elements of arrays, but I could be wrong

1 Reply
Not applicable
Author

Is it even possible to add individual elements of an array to corresponding elements of a different array? In a general sense, are there any matrix functions in QV?