Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

real-time count by group

Hi !

I found some problem with this simple task.

I have table with 2 dimensions:

1. gruppa

2. otveststv

and then i try to do:

1. Add expression count(tasks)

2. Add condition:  if(count(tasks) >= 2,1,0)

3. Now i want to count: how many otveststv in each gruppa is good by condition

Please see attached files.

How can i get something like this?

Please help if you can

1 Solution

Accepted Solutions
spividori
Specialist
Specialist

Hi!

See the attached example.
Hope this helps.

Regards.

View solution in original post

4 Replies
spividori
Specialist
Specialist

Hi!

See the attached example.
Hope this helps.

Regards.

Not applicable
Author

Thank you, Sandro!

This is helpful, with agrr function i could find whou many tasks good by condition.

Now i have this table ( third table in image):

group_count.JPG

but in result chart i need table with:

gruppa, count types (good by condition), count tasks (good by condition), Avarage by condition = count tasks (good by condition) / count tasks (good by condition)

in excel its look very simple:

group_count2.JPG

but in QV i can't get this final table.

Not applicable
Author

i found it.

spividori
Specialist
Specialist

Congratulations! I'm testing and do not know it.

Regards.