Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8828

Re: Count of Non-Distinct Records

$
0
0

I'm sorry I guess I misunderstood the question.

 

When you say 'Count of Distinct Records' the formula would be:

 

Count({Item_No}, {UserID}) - DistinctCount({Item_No}, {UserID})

 

This does not count Items Nos are appear more than once.

 

If you want to count all the Iteam Nos in a group (duplicate or otherwise), use this:

 

Count({Item_No}, {UserID})

 

If you want to count Disctinct values in the group (meaning a duplicate value would be counted only once), it would be:

 

DistinctCount({Item_No}, {UserID})

 

-Abhilash


Viewing all articles
Browse latest Browse all 8828


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