Replicate Zoho Books Customer Balance report into Analytics

Replicate Zoho Books Customer Balance report into Analytics

Hello Zoho Team,

I am trying to replicate Zoho Books' "Customer Balance" report into analytics using Query Tables. I have written queries to achieve the expected result but have not been able to replicate it fully.

3 queries I wrote contain: 

1. Query Q1 lists all Open and Overdue Invoices with Available Credits and Unused Amounts
2. Query Q2 lists all Closed Invoices with Available Credits and Unused Amounts
3. Query Q3 I am merging both queries above with a condition only to fetch closed invoices where Available Credit or Unused Amount is not 0.

I am able to achieve 95% correct results. But some customers have Invoices both closed and Overdue with Available Credit and Unused Amounts. In that case, when I am building a summary report it is summing up the same value and showing incorrect results.

I am looking for help or if anyone can guide me on how to replicate this report.

Thanks & Regards
Bhoomi Joshi





                            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 WorkDrive Resources



                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series


                                                                      • Tips

                                                                        Tips

                                                                      • 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