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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum based on criteria in another field

See attached data example.  I want to be able to create a table that shows four columns summarizing

ProducerNameGWP for BrokerageGWP for BindingTotal GWP

How do I construct my expressions to sum GWP in to 2 different columns based on the PRODUCT CLASSIFICATION field?

1 Solution

Accepted Solutions
swuehl
MVP
MVP

For columns GWP for Brokerage use

=sum({<[Product Classification] = {'Brokerage'}>} GWP)

and similar for GWP for Binding column.

Hope this helps,

Stefan

View solution in original post

1 Reply
swuehl
MVP
MVP

For columns GWP for Brokerage use

=sum({<[Product Classification] = {'Brokerage'}>} GWP)

and similar for GWP for Binding column.

Hope this helps,

Stefan