Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Qlikview wizards,
I'm trying to calculate % based on a parameter.
The result I want is this (the last column represents the percentages):
The expression
=Sum({$<[Article_CW] = {"Y"}, [#Colli]>}/ sum({$<[Article] = {"> 99999"}, [WH_Cd] = {"12"}>}[#Colli])
Wont work because I'm deviding two fields with the same result (370/ 370).
I'll attach this example in a qvw so it's easier to follow what I'm trying to accomplish.
Kind regards,
Ambertje
I managed to calculate the % with the Total function:
=sum({$<[Article] = {"> 99999"}, [WH_Cd] = {"12"}>}[#Colli])/sum(TOTAL([#Colli]))
The only thing that I can't fixe is to join the fields "PBL_Traiteur" and "PBL_Zuivel" together in this expression.
Can Someone please help me with this minor thing (but o so importent to me) please ???