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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
stavc
Contributor
Contributor

count and group by

hi all,

i need to do a count and group by.

I have a straight table in which i have one column of costumers and the other column is products the costumer ordered.

i need to know how many products ordered made each costumer.

for example:

costumer        product

1                            table

1                            table

1                             chair

1                             computer

 

in this case i need to see that costumer 1 ordered 2 tables, 1 chair and 1 computer.

 

thank you all

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Add customer and product as dimensions to your straight table and =count(product) as  measure


talk is cheap, supply exceeds demand