Simple MTD forecast in KPI Widget

Simple MTD forecast in KPI Widget

I want to display, in a KPI widget, a simple forecast of the current month of sales. To get this forecasted number, I need to divide the current MTD sales by the number of business days elapsed in the current month, then multiply that by the total number of business days in the current month to get a very rough forecast of what the month-end total will be. I want this total number to be displayed in the widget.

So far I've created a couple of formula columns:
- Number of business days elapsed in the current month called "curr_bus_day"
  business_days(start_day(month,current_date()),current_date())
- Number of total business days in the current month called "total_bus_day"
  business_days(start_day(month,current_date()),end_day(month,current_date()))

And an aggregate formula to get the current MTD sales:
  mtd(sum("my_table"."line_item_total"),"my_table"."date")

But I'm not sure where to go from here and how to fit these pieces together. I tried to calculate it all in a new formula column but I can't use aggregate formulas in a formula column. I tried to calculate it in an aggregate formula with the following but this aggregate formula doesn't appear as an option in the "Data Column" dropdown in the widget editor for some reason:
  (mtd(sum("my_table"."line_item_total"),"my_table"."date")/first_value(sum("my_table"."curr_bus_day")))*first_value(sum("my_table"."total_bus_days"))

This is dividing the MTD sales by the first value of the curr_bus_day formula column which is the number of business days elapsed, multiplying that by the first value of the total_bus_days formula column. But this seems like the wrong way to do it.

Any suggestion or tips?

    Access your files securely from anywhere

        All-in-one knowledge management and training platform for your employees and customers.







                              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

                                                              • What's New in Zoho Analytics - January 2026

                                                                Hello Users! We are starting the year with a strong lineup of updates, marking the beginning of many improvements planned to enhance your analytics experience. Explore the latest improvements built to boost performance, simplify analysis, and help you
                                                              • What's New in Zoho Analytics - November 2025

                                                                We're thrilled to announce a significant update focused on expanding your data connectivity, enhancing visualization capabilities, and delivering a more powerful, intuitive, and performant analytics experience. Here’s a look at what’s new. Explore What's
                                                              • What's New in Zoho Analytics - October 2025

                                                                Hello Users! We're are back with a fresh set of updates and enhancements to make data analysis faster and more insightful. Take a quick look at what’s new and see how these updates can power up your reports and dashboards. Explore What's New! Extreme
                                                              • What’s New in Zoho Analytics – September 2025

                                                                Hello Users!! In this month’s update, we’re raising the bar across multiple touchpoints, from how you bring in data, plan and track projects to how you design and brand your dashboards. We’ve added the all-new Gantt chart for project visualization, expanded
                                                              • Announcing Agentic AI - Ask Zia!

                                                                We are delighted to roll out the new agentic AI capabilities in Ask Zia, where every stage of the BI workflow is assisted by AI. With a human-in-the-loop approach, Ask Zia ensures that you’re in command of the decision, while AI handles the complexity.


                                                              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


                                                                                                        ご検討中の方