Report of the Week - Top N Items in Each Category

Report of the Week - Top N Items in Each Category


This week, let us see how to create a report that lists top 5 in each category. You can apply this in various scenarios such as top selling product in each category, top performing agents in each department, top customers in each region, etc., 



Let us see how to create a report of the top 5 customers in each region based on sales. 



Rank by Sales

Create an aggregate formula to rank sales in the descending order using the below formula.

 

Sales Rank = Rank(Sum(" Sales"."Sales" ), 'desc' )

 

This will calculate sales for the dimension in your report and rank the items in descending order based on sales.

Creating the Report

Follow the below steps to create the report. 
  1. Open the Pivot View Designer.
  2. Drop the columns as follows:
    • Rows - Region and Customer Name with Actual.
    • Data - Sales with Sum.



  3. Open the Filters tab.
  4. Drop the Aggregate Formula column Sales Rank . Open Ranges tab.
  5. Click +Add New Range link and create a range as Below 6.



  6. Click the Sales Rank column. The Show Data Setting will open. 



  7. In the Calculate By field, select By Base Fields
  8. Select the checkbox near the column based on which you want to rank sales. 
  9. Click Apply . Report with top 5 customers in each region will be generated.  
  10. Using the Themes button, customize the theme as needed. 




    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now