We help IT Professionals succeed at work.
Get Started

Count different string values in a group

John-S Pretorius
on
120 Views
Last Modified: 2018-01-12
I am grouping by a specific field (Transaction Number), within each group I have a specific value that should always be the same within that group. The total group count varies, I want to count how many different values of this specific string are in each group:-

11000012956  (The group count should be 1 as the value is the same within the group)
AA12BBCC
AA12BBCC
AA12BBCC
11000012957 (The group count should be 3 as the value has 3 different values in this group)
DD5612BB
DD56DD12
12DD5611
Comment
Watch Question
Owner, Millet Software
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 2 Answers and 4 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE