The pivot table every analyst needs. Summarize any metric by any dimension, automatically. Upload a CSV with a category column and a number column, and get a complete report: pivot heatmaps, treemaps, Pareto charts, cross-tabulations, group rankings, and time-based trends. No formulas, no dragging fields into boxes, no pivot table wizard. Just answers.
Worked Example (made-up data)
Question: How do sale values add up by region and product?
Inputs: Simulated data, seed 17. The script makes 12 rows of region, product and sale value. The sale values are random integers from 10 to 50, and the script builds in no difference between regions or products.
Method: Sum the sale value for each region and product, then compare the region totals.
import numpy as np
rng = np.random.default_rng(17)
regions = np.array(["North", "South"] * 6)
products = np.array(["Tea", "Coffee"] * 3 + ["Coffee", "Tea"] * 3)
sales = rng.integers(10, 51, size=12)
print("Simulated data, seed 17")
print("Rows:", len(sales))
print("Input: region, product, and sale value")
print("Built in: sale values are random integers from 10 to 50,")
print("with no difference between regions or products")
print("Method: sum sale value by region and product; compare region totals")
print("Region x product sums:")
for region in ("North", "South"):
values = []
for product in ("Tea", "Coffee"):
mask = (regions == region) & (products == product)
values.append(int(sales[mask].sum()))
print(f"{region}: Tea={values[0]}, Coffee={values[1]}, total={sum(values)}")
region_totals = {r: int(sales[regions == r].sum()) for r in ("North", "South")}
overall = int(sales.sum())
gap = abs(region_totals["North"] - region_totals["South"])
print("All sales:", overall)
print(f"Region totals: North {region_totals['North']}, "
f"South {region_totals['South']}")
print(f"Gap between region totals: {gap} of {overall}")
print("Limit: this small simulated set shows a grouping method, "
"not a real sales pattern")
Printed output:
Simulated data, seed 17
Rows: 12
Input: region, product, and sale value
Built in: sale values are random integers from 10 to 50,
with no difference between regions or products
Method: sum sale value by region and product; compare region totals
Region x product sums:
North: Tea=82, Coffee=80, total=162
South: Tea=68, Coffee=92, total=160
All sales: 322
Region totals: North 162, South 160
Gap between region totals: 2 of 322
Limit: this small simulated set shows a grouping method, not a real sales pattern
Result: North adds up to 162 and South to 160, a gap of 2 in 322. The region totals are level. The small gap is chance, because the script builds in no regional difference. A grouped sum shows what happened in the rows; it does not say whether a gap is more than chance.
Limit: This small simulated set shows a grouping method, not a real sales pattern.
Why Pivot Tables Still Matter
Every serious data question starts with grouping and counting. How much revenue came from each region last quarter? Which product category drives the most volume? How does average order value break down by customer segment and month? These are not advanced analytics questions. They are the foundation of every business decision. And yet, answering them still involves too many steps in most tools.
In a spreadsheet, you create a pivot table by dragging fields into rows, columns, and values areas. You fiddle with aggregation functions. You manually format the output. You build a chart separately. If you want a Pareto analysis or a treemap, you are on your own. If you want to know which combinations of two dimensions perform best, you build a second pivot table. If you want to see how those patterns change over time, that is a third. Each question spawns a new tab, a new chart, a new formatting exercise.
The Pivot Table Summary tool eliminates all of that. You upload a CSV, map your columns (which field to group by, which to aggregate) and the tool produces a report covering many angles of the data. Grouped bar charts, heatmaps, treemaps, Pareto curves, cross-tabulations, time trends, and summary statistics, all generated automatically with AI-written insights explaining what the numbers mean.
Real-World Use Cases
The tool works with any tabular dataset that has at least one categorical column and one numeric column. The worked example above shows one way to group sales by region and product, using simulated data. Here are other ways to use the report:
Sales by region and product. Export your orders from Shopify, WooCommerce, or any POS system. Map "Region" as the row dimension, "Product Category" as the column dimension, and "Revenue" as the aggregate value. The report shows you a heatmap of revenue by region and category, a treemap breaking each category into sub-products, and a Pareto chart identifying which region-category combinations account for 80% of your revenue. You will know exactly where to focus inventory and marketing spend.
Monthly revenue by category. Take any transaction log with a date column and a category column. The time-based trends section automatically aggregates by month (or quarter, or year) and plots each category as a separate line. You will see seasonality, growth trajectories, and whether one category is gaining share at the expense of another: patterns that are invisible in a flat spreadsheet.
Count by status and department. HR teams, support teams, and operations teams track tickets, cases, or tasks with a status field (open, in progress, closed) and a department field. Upload that data with "Department" as the row dimension and "Status" as the column dimension. The cross-tabulation shows exactly how many items sit in each state for each team. The rankings section identifies which departments have the largest backlogs. No dashboarding tool required.
Inventory analysis. Group products by category and rank by quantity sold or stock value. The Pareto analysis reveals whether 20% of your SKUs account for 80% of your volume: the classic pattern that drives ABC inventory classification. The treemap makes the hierarchy visual: parent categories broken into sub-categories, sized by value contribution.
What Data Do You Need?
You need a CSV file with at least one categorical column for grouping and at least one numeric column for aggregation.
Beyond the minimum, the tool accepts several optional columns that unlock additional sections of the report. A second categorical column enables the cross-tabulation and pivot heatmap: think "Category by Region" or "Department by Status." A sub-group column creates the treemap hierarchy, for example, "Sub-Category" nested under "Category." A secondary numeric column allows dual-metric comparisons. And a date column activates the time-based trends section, automatically parsing dates and aggregating at the granularity you choose (monthly by default).
How to Read the Report
The report has several sections, each addressing a different facet of your data. Here is what each one tells you and why it matters.
Executive Summary
The TL;DR. Total aggregated value across all groups, the dominant group and its share, the Pareto concentration ratio, and the spread between the top and bottom performers. This is the section you send to your manager or paste into a slide deck. It answers the question: "What is the big picture?" If the top group accounts for 60% of the total, that is a very different story than if all groups contribute roughly equally.
Overview
A structured breakdown of the analysis scope: how many records were processed, how many groups were identified, the total aggregated value, and the key findings from every downstream section. Think of it as the table of contents with conclusions attached. It gives you the full narrative arc before you dive into individual charts.
Data Pipeline
Every good analysis starts with transparency about the data. This section reports how many rows were retained, how many were filtered or removed during preprocessing, and what data quality issues (if any) were detected. A 100% retention rate means the full dataset was used. If rows were dropped (due to missing values, non-numeric entries, or other quality issues) this section tells you exactly how many and why, so you can trust the downstream numbers.
Summary Statistics by Group
For each group (each unique value in your row dimension), the report calculates count, sum, mean, median, standard deviation, min, and max of the aggregate value. This is the foundation. It tells you not just how much each group contributes (sum), but how the individual records within each group behave (mean, median, spread). A group with a high sum but also a high standard deviation has more variability and therefore more risk than a group with steady, predictable values. The grouped bar chart makes these comparisons visual and immediate.
Pivot Table Heatmap
When you provide two categorical columns (row and column dimensions), this section produces a matrix with color-coded cells. Each cell shows the aggregated value for that combination, for example, the total for one product category in one region. The color intensity makes it easy to spot hot spots and cold spots without reading every number. Hover over any cell for the exact value and record count. This is the classic pivot table, but rendered as an interactive heatmap instead of a grid of numbers.
Treemap Hierarchy
If you provide a sub-group column, the treemap breaks each top-level group into its components, sized proportionally by value. This is where you discover concentration risk: one sub-group may supply most of a parent category. The visual makes it obvious which sub-groups drive each parent category and which are negligible. You can spot imbalances that would take dozens of sorted tables to find in a spreadsheet.
Group Rankings
A straightforward ranking of all groups by their total aggregated value, from highest to lowest. Each group shows its absolute value, its percentage of the total, and its rank position. This section answers the simplest and most important question: who is winning and by how much? The bar chart makes the relative sizes unmistakable.
Cross-Tabulation
The cross-tab goes deeper than the heatmap by showing both transaction volume (count) and aggregated value for every cell in the matrix. This reveals a critical insight that heatmaps alone miss: whether high-value segments are also high-volume segments. A cell with few transactions and a large total has different economics than a cell with many transactions and a similar total. Understanding which is which can change your strategy.
Time-Based Trends
When you include a date column, this section aggregates your metric over time, monthly by default, and plots each group as a separate line. You will see seasonal peaks, growth trends (is one category gaining share quarter over quarter?), and anomalies (a sudden spike or drop that warrants investigation). The time series covers the full span of your data, so whether you have 12 months or 5 years, the patterns emerge clearly.
Pareto Analysis
The 80/20 rule, quantified. Groups are sorted from largest to smallest, and a cumulative percentage line shows how quickly the total accumulates. If two of your ten groups account for 80% of the value, you know exactly where to concentrate resources. If all groups contribute roughly equally that tells a different story: a diversified portfolio with no single point of failure. The Pareto chart makes concentration (or the lack of it) visually undeniable.
When to Use Pivot Summary
Use this tool whenever you need to answer "how does [metric] break down by [dimension]?", which is most of the time. It is the right starting point for sales reporting by region, product, or segment. It works for cost breakdowns by department, performance comparisons across teams, inventory analysis by category, and customer segmentation summaries. Any dataset with clear categorical and numeric columns is a candidate.
The tool is particularly useful when you need to present findings to stakeholders who do not want to sift through raw data. The combination of heatmaps, treemaps, rankings, and AI-generated insights produces a report that tells a story. You do not need to build a dashboard or write a narrative. The report does both.
When to Use Something Else
Pivot Summary shows you what the data looks like. It does not test whether differences are statistically significant. If you need to know whether Region A genuinely outperforms Region B or if the gap is just noise, pair this tool with a hypothesis test. Use ANOVA for comparing means across three or more groups, a t-test for two groups, or a chi-square test if your metric is categorical rather than numeric.
If your data is entirely numeric with no natural grouping column, consider correlation analysis or PCA to find patterns. If you need time series forecasting rather than just trend visualization, use ARIMA or Prophet. And if you need predictive modeling, not just description, look at Random Forest or XGBoost.
Pivot Summary can help you see how a numeric value changes across groups. Use a test or model when your question calls for one.
Your turn
Bring your own data and the question you actually need answered.
MCP AnalyticsData science by email Send us your data and your question, and we will reply. ds@mcpanalytics.ai