fransanchezoria
New member
- Local time
- Today, 08:00
- Joined
- Jun 27, 2011
- Messages
- 7
Hi!
I have a problem that I am sure it's easy to fix but I am too much of a newbie... In my data, I have records with Family IDs, inside these families there are usually one to 10 records but I am trying to analyze my data based on Family IDs.
I created a query and selected a few fields, including Family ID. I want to count the number of different Family IDs, but instead, when I use the function Count I get the total number of records. A quick example
ID Family ID Field FirstOfAssignee Orgnamn Kategori
441 20397136 Sven Torbjoern Lagerwall Bionanosystem Lärarpersonal
442 20397136 Bionanosystem Lärarpersonal
471 20286547 Chalmers Intellectual Property Rights Ab Bionanosystem Lärarpersonal
472 20286547 Forskarpatent I Vaest Ab Bionanosystem Lärarpersonal
473 20286547 Chalmers Technology Licensing Ab Bionanosystem Lärarpersonal
474 20286547 Bionanosystem Lärarpersonal
Say that I group by Orgnamn and count Family Ids, ideally I would like the result of 2, because there are only two different Family IDs in the data. However, when I Count Family IDs I get 6 as a result, because it counts the records inside.
My question is, how to disregard the records inside the Family IDs and count only the latter?
Thanks in advance!
I have a problem that I am sure it's easy to fix but I am too much of a newbie... In my data, I have records with Family IDs, inside these families there are usually one to 10 records but I am trying to analyze my data based on Family IDs.
I created a query and selected a few fields, including Family ID. I want to count the number of different Family IDs, but instead, when I use the function Count I get the total number of records. A quick example
ID Family ID Field FirstOfAssignee Orgnamn Kategori
441 20397136 Sven Torbjoern Lagerwall Bionanosystem Lärarpersonal
442 20397136 Bionanosystem Lärarpersonal
471 20286547 Chalmers Intellectual Property Rights Ab Bionanosystem Lärarpersonal
472 20286547 Forskarpatent I Vaest Ab Bionanosystem Lärarpersonal
473 20286547 Chalmers Technology Licensing Ab Bionanosystem Lärarpersonal
474 20286547 Bionanosystem Lärarpersonal
Say that I group by Orgnamn and count Family Ids, ideally I would like the result of 2, because there are only two different Family IDs in the data. However, when I Count Family IDs I get 6 as a result, because it counts the records inside.
My question is, how to disregard the records inside the Family IDs and count only the latter?
Thanks in advance!