Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Amount ?

Hi All,

I have to write the Expression in qlikview for this:

(Sum(AP amount) + Sum(BP amount) + Sum(CP amount))

/

Sum(DP amount)

Regards,

Helen

Labels (1)
4 Replies
nizamsha
Specialist II
Specialist II

what u written is correct ,but when the year is on selection it show the value for current year only so make sure what u  want .

Anonymous
Not applicable
Author

If the field names have spaces in them you will need to use square brackets: e.g Sum( [AP Amount] )

its_anandrjs
Champion III
Champion III

Elaborate more about the expression if in the expression if it is fields then you have to use

(Sum([AP amount]) + Sum([BP amount]) + Sum([CP amount]))

/

Sum([DP amount])

or if AP,BP,CP,DP are conditions then you have to use SET analysis.

Not applicable
Author

Sum([AP amount] + [BP amount] + [CP amount])

/

Sum([DP amount])

Alternatively, the commutative property should give you the above expression.