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: 
alba_delvalle
Contributor II
Contributor II

Make sum product

Make sum product

Good afternoon,

I'm trying to do what in excel would be a weighting in Qlik Sense.

My question is, how would you do it, I give you an example:


To take out what is in yellow, we have made the following formulation:

Captura.PNG

How would you do this in QlikSense?

Thanks in advance.

Regards,

8 Replies
agigliotti
Partner - Champion
Partner - Champion

could you provide a sample app with mock data ?

i guess your question is not clear.

alba_delvalle
Contributor II
Contributor II
Author

Good morning


I want to make, the following formula sum product, the following example, the result is marked in yellow.Captura1.PNG

I want to make I want to do the following:

Captura.PNG

rangam_s
Creator II
Creator II

Do you know how sumproduct works in excel?

If I am correct it will just multiplies the each element with corresponding position element in the next set and add everything.

Like a weighted sum.

It is possible in Qlik.

Sum(Total (Z*Y*X))/Sum(Total (Y*X))

balabhaskarqlik

May be try like this:

Sum({<Project={"P3","P4"},Status={"Pending","In Process"},Col1={"a","B","C"}>}QTY)

/

                             Sum({<Status={"Pending","In Process"},Col1={"a","B","C"}>}QTY)

Anil_Babu_Samineni

I think, RangeSum() can resolve your solution https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/ChartFunctions/RangeFunctions/rang...

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
alba_delvalle
Contributor II
Contributor II
Author

Hi,

Ty for answer me.

could u explain urself better?

I cant understand it well.

ty so much

balabhaskarqlik

Hence you're doing multiple array selection in excel, the same i tried with using of Set analysis by specifying each field with example values.

alba_delvalle
Contributor II
Contributor II
Author

Hi,

Thank you very much for your help, I got it !!!