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: 
Anonymous
Not applicable

Sum in class table

Hello for all Qlik mages! 🙂 Can anybody help me with tables? In first table I have prepared data and I need make sum for each "Material" (column Total stock/Psc Per pa) and final sum for each distinct Material get to second table. Where I will see sum in range 0.1. In screen I have filtered only two Materials, but I have it more. In Headers of columns are my used formulas.Capture.JPG

1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be one of these as your dimension

1)

Aggr(Class([Total Stock]/[Psc Per pa]), 0.1), Edate, Material)

2)

Aggr(Class(Sum([Total Stock]/[Psc Per pa])), 0.1), Material)

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

May be one of these as your dimension

1)

Aggr(Class([Total Stock]/[Psc Per pa]), 0.1), Edate, Material)

2)

Aggr(Class(Sum([Total Stock]/[Psc Per pa])), 0.1), Material)

Anonymous
Not applicable
Author

Sunny, you are genius! Thank you. Point 2 work.