Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
qliksus
Specialist II
Specialist II

REGARDING SOME CALCULATION

Hi,

Just open the qvw file there u can see i am facing problem in getting sum.

Waiting for reply??????

1 Solution

Accepted Solutions
Not applicable

Try this..

Sum({$<closingstock={">0"}>} Sale)

When you use the if-statements, you will often multiply you your rows when your conditinal sum depends on a value from another table.

This was not an issue up to version 8, but from 8.5 and onwards, it seems like the only thing that handle this correctly is "Set analysis"

/Martin

View solution in original post

2 Replies
Not applicable

Try this..

Sum({$<closingstock={">0"}>} Sale)

When you use the if-statements, you will often multiply you your rows when your conditinal sum depends on a value from another table.

This was not an issue up to version 8, but from 8.5 and onwards, it seems like the only thing that handle this correctly is "Set analysis"

/Martin

qliksus
Specialist II
Specialist II
Author

Hi,

Thanks for reply. It's works fine .