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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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

Labels (1)
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.