Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

distinct count if

ResolvedVersion 2016

Distinct Count If

hi there,

I'm trying to get a YOY retention rate. We want to calculate how many of the previous year's donors have given this year. And we only want to do this YOY rather than cumulatively.

I've been going about it by trying to get what I would describe as a "distinct count if" but is probably not the right language! I have a table of donors who have given over 5 years. Each unique ID for the donor appears multiple times if they've given more than one gift. This is alongside a Gift Date linked to my dates table.

I have managed to get a cumulative count of unique donors (who may give multiple times a year or not at all), Total Donors per FY (which starts August 1st) and the number of retained donors (although I am not sure if this is definitely a unique count so I need to check.) I need to produce YOY retention rates. So what I would normally do is pull out all the donors who gave in 2018 and then all the donors who gave in 2019 and whatever percentage of the total donors in 2018 gave in both years would give me my retention rate. I am struggling to calculate this year on year. Any suggestions welcome! Apologies if I'm making no sense.

 

Training courses

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Power BI tip:

Data Cleaning and Transformation

Ensure your data is clean and well-structured before importing it into Power BI. Use Power Query Editor to clean and transform your data. This tool allows you to perform various operations like filtering, merging, and reshaping data, ensuring it's in the right format for analysis.

View all Power BI hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.