Forum Discussion

MAAbdullah47's avatar
MAAbdullah47
Icon for Helper V rankHelper V
9 years ago
Solved

Get The Highest Count Frequency Of Item Name from data set

Hi, I have a data set (Order Id, Customer Id, Item Name, Quantity, Total Sales, Order Type), I want to get the following:

 

1-The Highest Count(Frequency) For Item Name In All orders. 

2-The Highest Count frequency Of the Order type (Pick-up, Delivery, Di-in).   

 

Thank You 

5 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Icon for Community Champion rankCommunity Champion

    In general, you will want to use a SUMMARIZE to summarize the information, grouping by what you want to group by and doing a COUNT. You would then grab the name of the item with the MAX count.

    • MAAbdullah47's avatar
      MAAbdullah47
      Icon for Helper V rankHelper V
      Can you help me by some example text cuz I'm usually do this by (R) ?
    • MAAbdullah47's avatar
      MAAbdullah47
      Icon for Helper V rankHelper V

      Ok Can You Show me at least how to get the Highest (TopN) from the field?

       

      No Need to summarize , Please advise.