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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Tickets (with diff. reasons) for products

hey everybody,

i've more or less 30 different products. Customers are allowed to write tickets for each product whenever Problems emerge.

These tickets consist out of different reasons.

I want to show that for example product A caused 1000 tickets, wheareas  the table should Display whole tickets for the product and number of tickets for the 3 most important reasons (in % relation to the whole thickets of the product!

May you have any ideas?!

It should look somehow like the table below, but there should be a column for the 1. , 2. and 3. largest reason! and the % should be calculated  by each product instead over all products!

1 Reply
Not applicable
Author

Hi,

Try this exression,

Sum( aggr(if( rank(Count(Reason), Product, Reason)<=3,Count(Reason)), Product, Reason)) / Sum(Total<Product>  aggr( Count(Reason), Product, Reason))