Report of Week - Customer Preferred Brands over Finance Data

Report of Week - Customer Preferred Brands over Finance Data

People tend to choose a few brands over the other. The popularity of the brand or the quality attached to it makes consumers gravitate toward the brand names. Understanding the customers' purchase behavior and measuring their brand preference is vital for your retail strategy. 


This week, let's learn how to track the most and the least preferred brands among your customers and invest in what brings profit. This solution is based on Zoho Finance data. You can customize the solution to suit your finance data structure. 





Steps to create brand preference reports:

  • Join Invoice and Credit Notes data (Query Table)
  • Rank the Brands using Formulas
    • Brand Rank by sales 
    • Brand Rank by number of customers who picked it
  • Create Reports
    • Top Brands by Revenue
    • Top Brands by Popularity
    • Customer by Brands

Join Invoices and Credit Notes data (Query Table)

Join the Invoices and Credit Notes data to get the complete list of customer purchase items along with the brand. The following query allows you to do this.   

 

SELECT

  

                     "Invoices". "Invoice Date" 'Date',  

                     "Sales Persons" . "Name" "Name",

                      "Customers" . "Customer Name" "Customer Name" ,  

                     "Brand" . "Name"   'Brand Name',  

                     "Items" . "Item Name" "Item Name",  

                     "Invoice Items" . "Total (BCY) " 'Amount', 

                     "Invoice Items" ."Quantity" 'Quantity'


FROM    "Invoice Items"

LEFT JOIN "Invoices" ON   "Invoice Items" . "Invoice ID"   = "Invoices" . "Invoice ID"

LEFT JOIN   "Sales Persons"   ON   "Invoices" . "Sales Person ID"   = "Sales Persons" . "Sales Person ID"  


LEFT JOIN "Customers" ON "Customers" . "Customer ID"   = "Invoices" . "Customer ID"


LEFT JOIN   "Items" ON   "Items" . "Item ID"   = "Invoice Items" . "Product ID"


LEFT JOIN   "Brand"   ON   "Brand" . "Brand ID" = "Items". "Brand ID"  


WHERE 

                     "Invoices" . "Invoice Status"    not in ( 'draft'  , 'void'  )


UNION ALL


  SELECT

                   "Credit Notes". "Credit Note Date", 

                   "Sales Persons" . "Name" "Name",  

                   "Customers" . "Customer Name" "Customer Name", 

                   "Brand" . "Name"   'Brand Name',  

                   "Items". "Item Name" "Item Name", 

                   "Credit Note Items" . "Total",  

                   "Credit Note Items" ."Quantity"


FROM    "Credit Note Items"


LEFT JOIN "Credit Notes"   ON   "Credit Note Items" . "CreditNotes ID"   = " Credit Notes". "CreditNotes ID"  


LEFT JOIN "Sales Persons"   ON   "Credit Notes" . "Sales Person ID"   = "Sales Persons" . "Sales Person ID"


LEFT JOIN   "Customers" ON   "Customers" . "Customer ID"   = "Credit Notes" . "Customer ID"


LEFT JOIN   "Items" ON   "Items" . "Item ID"   = "Credit Note Items" . "Product ID"


LEFT JOIN   "Brand"   ON   "Brand" . "Brand ID" = "Items" . "Brand ID"  


WHERE 

                   "Credit Notes" ."Credit Note Status"   not in ( 'draft'  , 'Void'  )




Rank the Brands using Formulas

Create aggregate formulas over the above said query table to rank the brands. Here, we have ranked it based on brand popularity among customers and by sales amount 

Rank the Brands using Formulas

Create aggregate formulas over the above said query table to rank the brands. Here, we have ranked it based on brand popularity among customers and by sales amount. 

Rank Brand by Revenue 

The following formula will rank the brand by the amount of your sales. 


rank(sum  "Invoices-Credit Notes"."Amount"  ))



Rank Brand by Popularity

The following formula will rank the brand by the number of customers who picked it. 


rank(count ( "Invoices-Credit Notes"."Customer Name" ))



Creating Reports

Now you can create the customer preference reports over the query table we have created.

Top Brands by Revenue

This report gives the list of top brands by the revenue each brand has generated. 


Follow the below steps to create the report. 

  1. Open the query table we have created. 
  2. Click Create > Pivot View . The Pivot Designer will open.
  3. Add columns from the query table as follows. 
    • Row - Brand Name with Actual
    • Data - Top Brand based on Sales with Actual and Amount with Sum .
  4. Click the Click here to Generate Pivot. 



  5. Click the Show/Hide button and select Totals .
  6. Hide the Totals. The report will be generated. 

Top Brands by Popularity

This report gives the list of the top brands by the number of customers who have purchased it. 

Follow the below steps to create the report. 
  1. Open the query table we have created. 
  2. Click Create > Pivot View . The Pivot Designer will open.
  3. Add columns from the query table as follows. 
    • Row - Brand Name with Actual
    • Data - Top Brand based on Customers with Actual and 
  4. Click the Click here to Generate Pivot. 



  5. Click the Show/Hide button and select Totals.
  6. Hide the Totals. The report will be generated. 

Customer by Brands

This report gives an overview of customer purchases along with preferred brands.

Follow the below steps to create the report. 
  1. Open the query table we have created. 
  2. Click Create > Pivot View . The Pivot Designer will open.
  3. Add columns from the query table as follows. 
    • Row - Customer Name, Brand Name , and Item Name with Actual .
    • Data - Quantity and Amount with Sum .
  4. Click the Click here to Generate Pivot . Report will be generated. 

Copy the sample workspace from the below url to learn more on this. 


https://analytics.zoho.com/workspace/19601000018579001


    Access your files securely from anywhere









                          Zoho Developer Community




                                                • Desk Community Learning Series


                                                • Digest


                                                • Functions


                                                • Meetups


                                                • Kbase


                                                • Resources


                                                • Glossary


                                                • Desk Marketplace


                                                • MVP Corner


                                                • Word of the Day


                                                • Ask the Experts



                                                          • Sticky Posts

                                                          • Tip of the Week - Spot Risky Sales with Conditional Formatting

                                                            In Zoho Analytics, small tweaks can lead to big insights. One such feature is Conditional formatting based on other columns, your key to instantly spotting where sales success is overshadowed by product returns. Our tip this week shows you how to apply


                                                          Manage your brands on social media



                                                                Zoho TeamInbox Resources



                                                                    Zoho CRM Plus Resources

                                                                      Zoho Books Resources


                                                                        Zoho Subscriptions Resources

                                                                          Zoho Projects Resources


                                                                            Zoho Sprints Resources


                                                                              Qntrl Resources


                                                                                Zoho Creator 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


                                                                                          Zoho Show Resources

                                                                                            Zoho Writer

                                                                                            Get Started. Write Away!

                                                                                            Writer is a powerful online word processor, designed for collaborative work.

                                                                                              Zoho CRM コンテンツ






                                                                                                Nederlandse Hulpbronnen


                                                                                                    ご検討中の方







                                                                                                            • Recent Topics

                                                                                                            • Editing the Ticket Properties column

                                                                                                              This is going to sound like a dumb question, but I cannot figure out how to configure/edit the sections (and their fields) in this column: For example, we have a custom "Resolution" field, which parked itself in the "Ticket Information" section of this
                                                                                                            • Copy field information to clipboard

                                                                                                              I need to be able to transfer some field information in to the clipboard, so that I can then paste it in to our helpdesk system. Is there a way I could add a button to a detail report that does this?
                                                                                                            • Issuing reconciling a bank statement

                                                                                                              HELP! I'm trying to reconcile a bank statement. The prior month reconciled perfectly. Beginning balance is correct yet I'm off by the same amount each time. Both myself and my office manager, separately and together, have tried to complete this reconciliation
                                                                                                            • Unknown table or alias 'A1'

                                                                                                              I would like to create a subquery but i am getting the following error: Unknown table or alias 'A1' used in select query. This is the sql statement:  SELECT A1.active_paying_customers, A1.active_trial_customers, A1.new_paying_signup, date(A1.date_active_customers), 
                                                                                                            • Detect and ignore bots in visitors

                                                                                                              The SalesIQ visitor numbers are basically useless to us because there is no bot detection. We get the same bots coming in from the same countries looking at the same pages every day. It can't be that difficult to tell the difference between an actual
                                                                                                            • Add Real-Time Microphone Audio-Level Indicator During Screen Recording

                                                                                                              Hi Zoho WorkDrive Team, Hope you are doing well. We would like to request an important enhancement to the Zoho WorkDrive screen-recording experience. Current Limitation: During a recording session, there is no visual indication that the microphone is
                                                                                                            • Kaizen #57 - Mass Update API in Zoho CRM

                                                                                                              Hello everyone! Welcome back to yet another post in the Kaizen series. This week, we will discuss the Mass Update API in Zoho CRM. In this post, we will cover the following: 1. Introduction 2. Mass Update Records API  3. Schedule Update and Get Status
                                                                                                            • Zero Personalization of the File Sharing Experience

                                                                                                              By now (2025) this is the maximum level of personalization available for a Zoho sharing link. We gently asked Zoho if we could modify at least the background, and they replied that it cannot be customized. We're truly disappointed – and surprised every
                                                                                                            • Create static subforms in Zoho CRM: streamline data entry with pre-defined values

                                                                                                              Last modified on (9 July, 2025): This feature was available in early access and is currently being rolled out to customers in phases. Currently available for users in the the AU, CA, and SA DCs. It will be enabled for the remaining DCs in the next couple
                                                                                                            • External Share > Edit: Cannot Create Zoho Files

                                                                                                              Hi Zoho, When we create an external share link with Edit permission, our external users are unable to create a Zoho file (Zoho Writer, Zoho Sheet and Zoho Show). They can only upload files. They can edit the Zoho files if we create them internally and
                                                                                                            • Two factor authentication for helpdesk users

                                                                                                              The company i work for wants use the helpdesk site in Zoho desk, as a place for their distribution partners to ask question and look for information about our product. The things there is suppose to go up there is somewhat confidential between my company
                                                                                                            • Users Not Automatically Being Added To WorkDrive Team

                                                                                                              I have already created a ticket for this issue, but the support team doesn't seem to understand what's happening. Our organization started with a trial of Zoho Workplace around November 10, 2025. I created 10 users, including myself. I sent out the invites,
                                                                                                            • Kiosk can't merge picklist or multiselect

                                                                                                              There is no ability to load a multiselect or picklikst field into a kiosk with the values that have been previously selected. So, I essentially have 3 unacceptable options: 1.)Load the value into a text string and include instructions like this: "Picklist
                                                                                                            • AGE field from DATE OF BIRTH Field.

                                                                                                              HI! I have a field called date of birth in my CRM (LEADS, CONTACT etc…)     How can I know the AGE today   I would like to create a field AGE. I now how to create a field but I don´t which calculation (CUSTOM FUCTION) to make ¿ANY HELP?
                                                                                                            • How to update/remove file in zoho creator widgets using javascript API

                                                                                                              Hi Team, I have developed a widget which allows inserting and updating records I have file upload field with multiple file upload. Now while doing insert form record, I am using uploadFile API to upload files for that record. I am using updateRecord API
                                                                                                            • Introducing Enhanced Storage Management

                                                                                                              We’re excited to roll out two new enhancements in Zoho Recruit, Subscription Information and Storage Management — designed to give admins complete visibility into subscription details, feature limits, and storage consumption — all from one place inside
                                                                                                            • Announcing new features in Trident for Windows (v.1.34.4.0)

                                                                                                              Hello Community! Trident for Windows just got better! With this update we have features that make your daily work easier and more efficient. We've added some features that are exclusive to our app and we're sure you'll find them useful. Let’s dive into
                                                                                                            • Report Hover Setting

                                                                                                              Would be great if we will able to show information to the user while hovering a record in a report.
                                                                                                            • Synchronization between Gmail and Zoho Mail

                                                                                                              Hello! I am using Zoho Mail within the Zoho One platform. I have completed the basic setup and added all the required DNS records with our domain provider. Our goal is to set up two-way synchronization between our current Gmail inbox and Zoho Mail, but
                                                                                                            • Vertical images displayed as horizontal

                                                                                                              Some pictures that originally are in vertical position are displayed in horizontal after the upload. It seems that system rotates them by 90 degrees. How can I fix this issue?
                                                                                                            • Zoho Desk iOS app update: Saved filters and sort options

                                                                                                              Hello everyone! Saved filters created on the web(desk.zoho.com) for tickets are now accessible on the Zoho Desk iOS app. You can easily rename, delete, or clear filters on the go. We have also introduced Sort options on the ticket listing screen, allowing
                                                                                                            • Introducing VeriFactu Support in Zoho Books

                                                                                                              Hello users, Spain has introduced the VeriFactu system under Real Decreto 1007/2023 to ensure integrity, traceability, and anti-fraud compliance in e-invoicing. Starting January 1, 2026, all B2B invoices must be reported to Agencia Estatal de Administración
                                                                                                            • Big Things Just Dropped in the SalesIQ Universe: Top Upgrades You’ll Love in Nova’25

                                                                                                              Nova'25 has landed, and it’s packed with meaningful upgrades to help you engage smarter, work faster, and scale with ease. Whether you're into proactive messaging, smarter automation, or better admin control, there's something here for everyone. Here's
                                                                                                            • Time Entries in Analytics

                                                                                                              I am trying to import a zoho sheet into zoho analytics. In my sheets one of the columns has "time Entries" in this "format HH:MM am/pm" example 11:00 PM. After import, i noticed that analytics converted the time to "00 Jan 1900 23:00:00".. how do i maintain
                                                                                                            • Amazon invoice in Zoho Books

                                                                                                              I have just made my first few sales on Amazon India. Amazon Seller account generates invoices for the sales made on Amazon. These invoices are sent to customers also. Now when I was only making offline sales, I used to create Invoices in Zoho Book. Now
                                                                                                            • Zoho Creator Upcoming Updates - November 2025

                                                                                                              Hello everyone, Welcome to your monthly roundup of new features and enhancements! We hope you've already taken a look at Release Projection 2—it details the features coming your way for the rest of the year. And this month, we're excited to start rolling
                                                                                                            • Table dimensions

                                                                                                              I try changing the dimensions of the table on my computer but it doesn't change. Do I have to be a premium member or does it only work on the app?
                                                                                                            • Zoho Webinar + HubSpot : Simplifiez la gestion de vos données de webinaires

                                                                                                              Les webinaires sont aujourd’hui essentiels pour interagir avec vos prospects et vos clients. Cependant, la gestion des données entre plusieurs plateformes peut vite devenir complexe. Grâce à la nouvelle intégration entre Zoho Webinar et HubSpot, vos outils
                                                                                                            • I am trying to give access to one of our educators access to 3 forms in Zoho and she is not able to view the data - Access issue

                                                                                                              Hi Team, When I try to provide read access to one of our educators on Zoho for Pre-training , post training and Impact survey forms submit form access which also allows them to read , it does not show them data
                                                                                                            • How to book GST paid in zoho books

                                                                                                              hi, i am a new user to Zoho books and not able to book GST paid in books, kindly suggest how i can book it in books. thanks, siddharth
                                                                                                            • PUNJAB NATIONAL BANK (CORPORATE) INDIA - NOT AVAILABLE IN BANKING

                                                                                                              Dear sir, Kindly fix it. PUNJAB NATIONAL BANK (INDIA) is available but PUNJAB NATIONAL BANK (CORPORATE) is not available. Kindly enable this banking since we need to categorize the entries. Regards, Sanjay Jena email id/ user id : travewithmerchant@
                                                                                                            • Employment Contract / HRMS Documents - Zoho People

                                                                                                              How do I create customized HR documents for disbursal from Zoho People ? Example, say offer letters ? appointment letters ? Memos ? We want to be able to preset these in one or ther other form and issue them to employees who are in Zoho People.
                                                                                                            • Is it possible to create a word cloud chart in ZoHo Analystics?

                                                                                                              Hi there, I have a volume of transaction text that I would like to analyse using word cloud (or other approcah to detect and present word frequency in a dataset). For example, I have 50,000 records describing menu items in restaurants. I want to be able
                                                                                                            • Kaizen #216 - Actions APIs : Email Notifications

                                                                                                              Welcome to another week of Kaizen! For the last three weeks, we have been discussing Zylker's workflows. We successfully updated a dormant workflow, built a new one from the ground up and more. But our work is not finished—these automated processes are
                                                                                                            • Facturation électronique 2026 - obligation dès le 1er septembre 2026

                                                                                                              Bonjour, Je me permets de réagir à divers posts publiés ici et là concernant le projet de E-Invoicing, dans le cadre de la facturation électronique prévue très prochainement. Dans le cadre du passage à la facturation électronique pour les entreprises,
                                                                                                            • Your bot just got smarter: AI-Powered routing that reads between the lines

                                                                                                              What if your bot could tell the difference? Between a visitor who just needs a quick answer, someone actively comparing options, and a frustrated customer one click away from leaving? Most bots can't. They deliver the same response to everyone, missing
                                                                                                            • Weekly Tips : Master Keyboard Shortcuts in Zoho Mail

                                                                                                              If you spend a lot of time managing emails, switching between your mouse and keyboard can slow you down. Whether you are replying to clients, organizing your inbox, or searching for messages, every second counts. So, how can you streamline your email
                                                                                                            • Introducing custom lookup fields in the Tickets, Contacts, and Accounts modules

                                                                                                              Hello all, We are excited to announce a new enhancement that will empower you to further customize the Tickets, Contacts, and Accounts modules. Now, you will be able to create custom lookup fields in your Tickets, Contacts, and Accounts layouts for more
                                                                                                            • DKIM cannot be enabled for the domain as no verified default selector present

                                                                                                              Can't get the DKIM working. May you please check my account (nksy.us) to see what's wrong?
                                                                                                            • Contacts per department

                                                                                                              Hello, Is it possible to limit Contacts to a Department? Thanks
                                                                                                            • Next Page