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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Zaidan_as
Creator
Creator

Sum or Get Values of Field from Distinct Field

Hello guys, 
As i stated in the subject, I want to get the values or sum the values of a field from distinct name of another field. 

The illustration is like this

Screenshot_9.png

 

so if you see on the image, I want to just get the distinct value from Inspect (column G) from distinct name of the EPLotNo (column B). 
So example from the image,  I want to get value like this
Screenshot_10.png

 

So how can I get this in Qlik Sense using expression ?

Labels (5)
1 Solution

Accepted Solutions
Zaidan_as
Creator
Creator
Author

Ok i already found the answer, my bad because i don't search more in the qlik community first.

My solution is using this expression
SUM(AGGR(SUM(DISTINCT TotalInspectionQty), EPLotNo))

 

View solution in original post

1 Reply
Zaidan_as
Creator
Creator
Author

Ok i already found the answer, my bad because i don't search more in the qlik community first.

My solution is using this expression
SUM(AGGR(SUM(DISTINCT TotalInspectionQty), EPLotNo))