Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Rajamohan
New Contributor III

How to create unequal range to found count of tickets?

Dear All,

I have a requirement to create an unequal range to found the count of tickets as follows:

In the attached excel, ticket sheets has the ticket no for the respective data.  The no. of tickets should be shown in the range of the data as shown in the range sheet.

Please help how to achieve this?  I tried with the interval match function which is not working.

   

Min_NetGrowthHeightPercentageMax_GrossGwtHtPercentageRange
0.0129.990.01-29.99
3054.9930.00-54.99
5559.9955.00-59.99
6064.9960.00-64.99
6574.9965.00-74.99
7599.9975.00-99.99
100125100.00-125

For each range, I wish to find the count of tickets. 

Pls. help.

Thanks.

Best Regards,

Raj.

2 Replies

Re: How to create unequal range to found count of tickets?

You can use a if statement to create unequal ranges

If(Field >= 0.01 and Field <= 29.99, Dual('0.01-29.99', 1),

If(Field >= 30 and Field <= 54.99, Dual('30.00-54.99', 2),

....

and so on...

Rajamohan
New Contributor III

Re: How to create unequal range to found count of tickets?

Thank you so much Sunny for the quick response.  I hope this solution will work.

- Mohan

Community Browser