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

Announcements
Share your agentic AI experience, learn from others, and earn a new badge: Put Agentic AI to Work
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??????

Labels (1)
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 .