DistributionTR ( uniqueList ; dataList )
For each item in list 1, counts occurrences in list 2
Average rating: 4.4 (37 votes) Log in to vote
Bruce Robertson - Show more from this author |
B 2
C 0
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Simpler output than original function; tab and return delimited, no highlighting.
For each item in list 1 (uniquelist) , counts occurrences in list 2 (datalist). So for instance list 1 could include Seattle and Portland, and list two could be the result of a list function that accumulates the "City" field across a record set.
Comments
Gmal, New York May 29, 2013 |
||
Is there a way to sort the resulting list by the occurrence values? | ||
Bruce Robertson May 29, 2013 |
||
That's left up to you. Could be done easier now with ExecuteSQL anyway. | ||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.