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

Set Analysis


Hi All,

I want to get the count based on the premium value. If I am having a table like below

PolicyPremium
P1100
P5100
P2200
P8200
P9200
P3300
P7300
P4400
P10400
P6500

Tried the below in set analysis did not work. Please advise.

if([Premium Band]='0 - 200',Count({$< Premium= {">=0 <200"}>} DISTINCT Policy))

The Premium Band is the field created speratly.

Thanks,

Sijo

1 Reply
marcus_malinow
Partner - Specialist III
Partner - Specialist III

Hi Sijo,

try adding your [Premium Band] condition to your set.

Count({$<[Premium Band]={'0 - 200'}, Premium={">=0<200"}>} DISTINCT Policy)

Marcus