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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
ivandrago
Creator II
Creator II

Aggregation Help

Hi,

I have the attached document, I want the value from the text box "Value Required" but I am getting the wrong value based on the chart. I think the reason for this is because there are multi lines for the same ID due to different RuleID.

Thanks

1 Solution

Accepted Solutions
Not applicable

Try with this:

Sum(Aggr(sum(DISTINCT poPrice * poQty), ID))

Regards,

Ricardo

View solution in original post

3 Replies
srinivasa1
Creator II
Creator II

USe

distinct  as below in  chart experssion

sum( distinct poPrice* (poQty))

It will show exact value.pls check and let me know

ivandrago
Creator II
Creator II
Author

Hi,

It does not seem to work, I've attached another document with more data and I have added your expression to the chart "wrong value 2" and the results are not matching the "Value Required" as you can see.

Thanks

Not applicable

Try with this:

Sum(Aggr(sum(DISTINCT poPrice * poQty), ID))

Regards,

Ricardo