How to analyse data with pivot views in Odoo
Want to see your sales, stock or costs broken down the way you need, without exporting to Excel?
Introduction
Lists are great for finding individual records, but when you need to understand the bigger picture, such as sales by region and month or costs by project and supplier, you need a way to summarise thousands of records at once. That's what Odoo's pivot view is for. It works much like a pivot table in a spreadsheet, but it runs directly on your live Odoo data, so the numbers are always up to date. In this guide we'll show you how to build and use pivot views in Odoo 19.
What is a pivot view?
A pivot view is a table that aggregates your records and breaks them down by the groupings you choose. It's available in the Reporting menu of most apps, such as Sales, Purchase, Inventory, Accounting and Project, and in many other list views too.
Each pivot view has three building blocks:
- Rows: how records are grouped down the side, for example by customer or product.
- Columns: how records are grouped across the top, for example by month.
- Measures: the numbers being calculated, such as untaxed amount, quantity or margin. Only number and currency fields can be used as measures, plus Count, which counts records.
Because the pivot view uses the same search bar as every other view, you can combine it with filters and saved favourites.
Step-by-step guide
Step 1: Open the pivot view
- Go to the report you want to analyse, for example Sales ‣ Reporting ‣ Sales.
- Click the pivot view icon at the top right of the screen.
Step 2: Choose your measures
- Click Measures.
- Select one or more measures, such as Untaxed Total and Qty Ordered.
- Select Count if you also want to see the number of records.
Step 3: Add groupings to rows and columns
- Click the + next to the Total header on the rows, and choose a grouping such as Customer.
- Click the + next to the Total header on the columns, and choose a grouping such as Order Date: Month.
- To drill down further, click the + next to any individual row or column header and add another grouping.
- Click the − next to a header to collapse it again.
You can also add groupings from the Group By menu in the search bar.
Step 4: Filter, sort and rearrange
- Use the search bar to filter the data, for example to the current year only.
- Click a measure's column heading to sort from highest to lowest, or lowest to highest.
- Click Flip axis to swap rows and columns.
- On reports that support it, select a date filter, then choose Previous Period or Previous Year under Comparison to see the change over time.
Step 5: Save, export or share
- Save your layout as a favourite using Favorites ‣ Save current search, so you can come back to it.
- Click the download icon to export the pivot as an Excel (.xlsx) file.
- Click Insert in Spreadsheet to add the pivot to an Odoo spreadsheet or dashboard, where it stays connected to your live data.
Common use cases
- Sales by customer and month: spot your biggest customers and seasonal trends at a glance.
- Margin by product category: see which product lines are most profitable.
- Purchases by supplier: understand spend and negotiate better terms.
- Timesheets by project and employee: check where your team's time is going and what's billable.
Tips for success
- Start simple. Add one row grouping and one column grouping first, then drill down only where you need detail.
- Filter before you group. Narrowing the date range first keeps the pivot quick and easy to read.
- Save the views people use regularly. A shared favourite means everyone reports from the same numbers.
Why use Odoo for pivot analysis?
- Live data: no exports or copy-and-paste, so figures are always current.
- Drill down anywhere: click into any total to see the records behind it.
- Works across apps: the same tool analyses sales, stock, purchasing, projects and finance.
- Spreadsheet-ready: insert pivots into Odoo Spreadsheet to build richer reports and dashboards.
For many businesses, pivot views replace a large share of the manual spreadsheets used for management reporting.
Final thoughts
The pivot view is one of Odoo's most useful reporting tools, turning large volumes of data into clear, actionable summaries in seconds. Once your team is comfortable with measures, groupings and favourites, they can answer most day-to-day questions themselves. If you'd like help building reports and dashboards around your key metrics, our team can help.
