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: 
JuanMu
Contributor III
Contributor III

Chart Expression

Hi All,
Is there any chart expression to calculate how many register are repeated more than twice?. For instance:

Values
1
1
1
3
3
3
3
4
5

The solution must be 2, the number 1 and number 3 are repeated more than twice.

Best regards,

Juan Muñoz.

1 Solution

Accepted Solutions
jwjackso
Specialist III
Specialist III

With data:

Data:
Load * Inline [
Values
1
1
1
3
3
3
3
4
5
];

 

The expression, Sum(If(Aggr(count(Values),Values) > 2,1,0)) returns 2.

View solution in original post

2 Replies
jwjackso
Specialist III
Specialist III

With data:

Data:
Load * Inline [
Values
1
1
1
3
3
3
3
4
5
];

 

The expression, Sum(If(Aggr(count(Values),Values) > 2,1,0)) returns 2.

JuanMu
Contributor III
Contributor III
Author

Great!!!!!

Thanks a lot!!!!