Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Max count of duplicate values?

$
0
0

Hi All,

 

I have a table that looks something like this, which displays the responses students have sent to questions. I'm looking to find a MAX response count (by student) that can be filtered by date.

 

Student ID       Package ID      Date Sent  text

1                       101                  9/1/16        yes

2                       101                  9/1/16        yes

2                       102                  9/2/16        1

4                       101                  9/1/16        no

4                       102                  9/2/16        1

4                       103                  9/3/16        5

 

I already have an overall MAX measure for responses, that comes from a summarized calculated table. But the summarized table of course no longer has dates attached (it gives me a response count for each student overall), so it isn't filtering.

 

What I need is to be able to show the following:

 

From 9/1/16-9/3/16 the MAX response count is 3. For 9/1/16 the MAX response count is 1. Basically, I want to identify the Student ID that has the most duplicates, and count the number of those duplicates. 

 

Thanks for any help!

 

Betsy

 

 

 

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>