Go to example tasks

Group By and Sum an Apify Dataset - Count, Total, Average

Group any scraped dataset by a field and get counts, totals and averages per group, with currency-text prices parsed and a CSV/Excel download.

Try for free
Dataset Aggregate, Group By & Pivot
Dataset Aggregate, Group By & Pivotnerolabs/dataset-aggregate-pivot
Region
Orders
Total amount
Avg amount
Text
Number
Boolean
List
Object

Input

Data (inline)
orderId:1001+7
region:North+7
product:Widget+7
amount:$1,200.00+7
orderedAt:2026-07-03+7
Group by field(s):region
Aggregations
function:count+2
alias:orders+2
Export file formats:csv+1

Output fields

Region
Orders
Total amount
Avg amount

How it works

Sign up on Apify01

Create your Apify account to access the Dataset Aggregate, Group By & Pivot.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay