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

Set analysis issue in value

Ideally the both the following function should return the same

=sum( {$} Invoice_Quantity*Item_Price)

or

=sum( Invoice_Quantity*Item_Price)

But it showing different values and with $ it showing the total value. Fail to understand why ?

I am using different state in document and the control where this function is placed using the inherited state of the sheet.

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

Thanks. I figure that out. so instead of $ or any its variant need to use the state name.

=sum( {state_name} Invoice_Quantity*Item_Price)

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

$ is for the default state. If you're using alternate states then the default state is not necessarily the same as the inherited state of the object. See this blog post: Set Analysis & Alternate States – Quick Tip » The Qlik Board!


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks. I figure that out. so instead of $ or any its variant need to use the state name.

=sum( {state_name} Invoice_Quantity*Item_Price)