Reports · Analysis
Sales, purchase and stock analysis with pivot and compare
Sales, purchase & stock analysis answers questions like "which products sold most this month" or "which vendor did we buy most from this year". Pick Sales, Purchases or Stock movements, a period, a field to group by and a measure. Add a second field for a pivot, compare with the previous period or last year, and export to Excel or PDF.
Last updated:
- Data
- Sales (invoices and POS), Purchases (bills), Stock movements
- Group by
- Product, category, customer, vendor, salesperson, store, channel, month, week, day
- Compare
- Previous period or same period last year
- Export
- Excel or PDF, or save and email on a schedule
- Menu
- Reports → Sales, purchase & stock analysis
What is the sales, purchase and stock analysis?
It is one flexible report over three sets of data. You choose what to look at and how to slice it, and Daftiq adds it up on the spot from your posted documents. It is the report to open when the Overview dashboard shows that sales went up or down and you want to know why.
Owners and managers use it to see their best products and customers, buyers use it to see which vendors they depend on, and store managers use it to see what moved in and out of each godown.
What data can I analyse, and what does each measure mean?
| Data | Comes from | Group by | Measures |
|---|---|---|---|
| Sales | Posted sales invoices (not opening balances) and POS sales; POS refunds are taken off on their refund date | Product, Category, Customer, Salesperson, Store, Channel, Month, Week, Day | Net sales (after discount, before tax), Quantity, Sales (number of documents), Average sale, Tax |
| Purchases | Posted bills (not opening balances) | Product, Category, Vendor, Store, Month, Week, Day | Net purchases, Quantity, Bills, Average bill, Tax |
| Stock movements | Every stock move: bills, sales, returns, transfers, counts, production | Product, Category, Store, Movement, Month, Week, Day | Quantity in, Quantity out, Net quantity, Value |
Store is the warehouse. Channel tells invoices from POS sales. Movement is the kind of stock move, such as a sale, a bill or a transfer.
How do I build an analysis?
- Open Reports → Sales, purchase & stock analysis.
- Under What to show, pick Sales, Purchases or Stock movements. You only see the ones your role allows.
- Choose the Period: This month, Last month, Last 7 days, Last 30 days, This quarter, Last quarter, This year, Last year, or Custom dates with From and To.
- Choose Group by (the rows) and the Measure, for example Product and Net sales.
- Optionally choose Columns (pivot), for example Month, to get a table of products by month.
- Optionally set Compare with to Previous period or Same period last year.
- Read the bar chart and the Table, then click Excel or PDF to download, or Save this view to keep it.
How do I read the chart, table, pivot and comparison?
- Without a pivot, a bar chart shows the top 20 rows for the chosen measure, and the Table below lists the rows with every measure and a Total.
- Rows are sorted by the measure, largest first, and the table keeps the top 50.
- With Columns (pivot), the table becomes a grid: rows by your first field, columns by the second. Time columns (month, week, day) run in date order; other columns show the 12 largest.
- With Compare, each row shows the earlier figure in a lighter bar and the change in percent, green when up and red when down. The previous period has the same number of days, directly before yours.
Who can open the analysis?
Sales needs permission to see all sales invoices, Purchases needs all purchase invoices, and Stock movements needs warehouses. Set these on roles and permissions. A role with none of the three cannot open the page, and a salesperson limited to their own invoices does not see company-wide sales here.
What comes before and after the analysis?
Before: the analysis only reads what is posted, so the numbers depend on posting invoices, bills and POS sales on time, with each product in the right category and warehouse.
After: act on what you see. Reorder the fastest sellers through purchasing, call the customers whose buying dropped, or move slow stock between warehouses. Save the view and Daftiq can email it every week or month. For stock value in the books, use stock valuation; for profit, use the profit and loss.
Frequently asked questions
Is net sales before or after tax?
Net sales is after line discounts and before tax. Tax is its own measure, so you can see both side by side.
Are POS sales included in sales analysis?
Yes. Sales adds POS sales to posted invoices, and POS refunds are taken off on the day of the refund. Group by Channel to see invoices and POS apart.
Can I see sales by salesperson?
Yes. Group Sales by Salesperson. Invoices count under the Salesperson chosen on the invoice form, a field the Sales Targets module adds. POS sales count under the cashier who made the sale.
Can I compare this month with the same month last year?
Yes. Set Compare with to Same period last year. Each row then shows last year's figure and the change in percent.
Can I download the analysis?
Yes. The Excel and PDF buttons download exactly the view on screen. A wide PDF prints in landscape.
In this group: Reports
- Business Reports in Daftiq: Every Report
- Business Overview Dashboard: Sales, Dues, To-Do
- Sales, Purchase and Stock Analysis Report
- Scheduled Email Reports: Weekly or Monthly
- Consolidated P&L and Balance Sheet for Groups
Find out what really sells
Open the analysis, group this month's sales by product, and compare with last month. Then save the view and have it emailed to you every Monday with scheduled reports. More in reports; POS sales need the POS module.