Hi All, I have a dynamic array that keeps growing dynamically with so

Hi All,

I have a dynamic array that keeps growing dynamically with some integer values and I want to get the count of same numbers inside that array. For instance if the array has the following values local!array: {1,1,1,1,1,1,1,2,2,2,3,3,3} then the count array should have the following value:{7, 3,3} indicates that there are 7 1's and 3 2's and 3 3's inside that array. The problem is I don't know ahead of time what all values will be there inside this array. It is dynamic. So I can't do something like {length(wherecontains(1, local!array)), length(wherecontains2, local!array)), length(wherecontains(3, local!array))}. I can't supply the values 1,2,3 into the wherecontains directly and the length array with the curly braces has to grow dynamically based on how many values are inside local!array. Is there any solution to this problem?...

OriginalPostID-131952

OriginalPostID-131952

  Discussion posts and replies are publicly visible