Aggregating the First Value in the Group By of a dataset

Aggregating the First Value in the Group By of a dataset

Hi

I am trying to get the following Aggregate Formula to work in my chart, but cannot seem to get the right format. I have a series of data that I am running an include_groupby and want to SUM only a column in the first row of each group. So for example. I have Customer Sales data. Customers are grouped into regions. I want to get the latest sales entry for each customer and then sum those results. I have sorted my data using the date field so I can fetch the first record in the group and it should be fine

Here is what I have tried:

1. sum(include_groupby(max("Sales"),"Region")). This gets the maximum sales amount in the group. But I want the latest one

2. sum(include_groupby(first_value("Sales"),"Region")). this produces a format error

3. sum(include_groupby(avg(first_value( avg("Sales") )),"Region")). This was a long shot, but it throws a format error

Any ideas in how I go about achieving this.

Regards
Andrew




    • Sticky Posts

    • 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.
    • Invitation-Based User Access in Zoho Analytics

      Hello everyone, We’re rolling out an important update on how users are added to your Zoho Analytics Organization and Workspaces. Previously, when admins added users, they were automatically added to the organization. Moving forward, to improve security