Forum Discussion

Soyeljefe77's avatar
Soyeljefe77
Copper Contributor
May 31, 2022
Solved

How to create a report that counts unique values in one field

I have a database that lists clients, their info and who referred them.  I want to make a report that lists all the people who referred, and how many people they referred. I don’t know if it can be d...
  • isladogs's avatar
    May 31, 2022

    Soyeljefe77 

    Create a Totals query by clicking the Sigma symbol on the Query Design ribbon

     

     

    SELECT Referred_by, Count(Client) AS TotalReferrals
    FROM YourTableName
    GROUP BY Referred_by;

     

    Use that query in your report

Resources