I have records with variable number of rows and a column A with 7 possible values, all of them are repeatable.
I need a new column B based on A showing the number of occurrencies of each value per record. The count should reset in every record.
I managed to sort my rows in column A ordering them alphabetically within each record, but I can’t find the right expression to do the counting. I could only manage to obtain the total count of occurrencies of the values in A through all the data set (using text facet or facetCount).
Any clues?