I managed to get the highest info now by using FirstSortedValue and COUNT, but if the dataset is showing as below. The result will be blank. Is that a possibility auto populate a random value from Category if it is blank?
CUSTOMER_NO | DATE_OF_PURCHASE | DIMENSION |
CustomerB | 28/04/2017 | Bags |
CustomerB | 28/04/2017 | Accessories |
Expected Result:
CUSTOMER_NO | DATE_OF_PURCHASE | DIMENSION |
CustomerB | 28/04/2017 | Bags |