cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
VR
VR
Level I

How do I do a count formula

I have a data set that had 19 million rows.  Within that data set I want to count the number of instruments a customer has.  I have the customer data in one column and the instruments in another column.  My goal is to select customers that only have 1 instrument.  

 

Thanks 

2 REPLIES 2
txnelson
Super User

Re: How do I do a count formula

I suggest that you use 

     Tables==>Summary

grouping on (Customer, Instruments)

and then on the summary table repeat

     Tables==>Summary

grouping on (Customer)

the table it produces will have the number of instruments,

You can then easily run

     Tables==>Update

to join the counts back into the original table

Jim
VR
VR
Level I

Re: How do I do a count formula

Thanks so much,  This helps.