Skip to content

Analytics & Reporting

Monthly KPI dashboards, saved and ops reports, no-show and demand forecasting, and Ask Your Data.

6 min read

Overview

The analytics module turns operational data into monthly KPI dashboards, exportable reports, two forecasts (no-show risk and demand), and an "Ask Your Data" chat that answers questions from a summary of recent sales. It sits under Dashboard > Analytics and belongs to the premium analytics feature ("Analytics & Finance"); the Analytics home shows an upgrade prompt when the org does not have it. Menu entries are shown to manager roles and above (super_admin, org_owner, brand_manager, location_manager).

Kagami salon business intelligence and analytics dashboard tracking sales KPIs, revenue trends, and client volume

Dashboards are scoped to the active store selected in the app, or brand-wide when none is selected. Several analytics pages pick the org's first brand alphabetically, so multi-brand orgs see one brand's numbers.

Analytics Home

The home page has a month navigator and four KPI cards, each with a change versus the prior month:

Card Definition
Revenue Paid invoices created in the month, net of GST
Avg Ticket Net revenue divided by the number of paid invoices
New Clients Client profiles created in the month
Utilization Completed appointments as a share of all that month's appointments. This is a completion rate, not the share of available slots filled

Below the cards: a 6-month trend, staff performance for the month, links to the sub-dashboards, and the latest saved reports.

Sub-dashboards

Page What it shows
Revenue 12-month net revenue bars and table: revenue, invoice count, average ticket per month
Clients Total clients, new this month, and a monthly table of new, returning, retention % and no-shows. Retention here means returning paying clients as a share of all paying clients that month, not "returned within 90 days"
Staff Performance Per stylist for the month: revenue from completed services, average ticket, utilization (completed over assigned appointments), plus a revenue-by-staff chart
Service Time Actual versus expected service duration, fast and slow billing alerts, guest walk-ins
Daily Sales Per-day invoices, gross, discounts, net, tax, total, refunds by tender, collected by tender (cash, UPI, card, wallet, other), adjustments and voids; date and location filters; CSV export
Reports > Summary, Bookings, Services, Staff Operations reports built from paid invoice lines, split into service, retail and membership revenue, each with CSV export
Custom dashboards A user picks widgets (revenue trend, top services, staff performance, client summary, location breakdown, AI no-show risk, AI demand forecast, Ask Your Data), orders them, and saves the layout

Not available in Analytics: a Finance dashboard (profit, AR/AP and cash live under Finance and Accounting), retail revenue (the retail_revenue_minor KPI field is always 0; use the ops reports for the retail split), commission earned, an acquisition-source breakdown, booking lead time, and a busiest-hours heatmap.

Date and Filter Controls

  • The KPI dashboards are month-based (?period=YYYY-MM) with previous/next navigation and the active-store switch. There is no custom date range, prior-year comparison, service-category filter or staff filter on them.
  • Daily Sales, the ops reports and saved reports take explicit from/to dates, and Daily Sales and the ops reports can be limited to a location.

Forecasting

Dashboard > Analytics > Forecasting ("AI Forecasting") has two parts, both estimated from the last 90 days of bookings.

No-show risk (the predictive piece)

A simple scoring function, not a trained model. For each open appointment (scheduled, confirmed or pending confirmation) in the next 48 hours (up to 50, brand or store scoped) it computes a no-show probability:

  • Starts from the client's own history, counting completed and no-show visits only and smoothing toward a 15% new-client rate.
  • Adds risk for slots before 09:00 (+10 points) and after 19:00 (+5), subtracts a little at weekends, and uses the 24-hour reminder reply: confirmed multiplies risk by 0.4, no reply adds 10 points, a reschedule request adds 25, a cancellation via the reminder sets 95%.
  • The result is clamped to 2%-95% and labelled low (under 20%), medium (20-39%) or high (40% and above), with the contributing factors and a suggested action (high: call or WhatsApp today; medium: reminder one hour before).

Demand forecast

A 30-day projection using the average appointments and paid revenue for each day of the week over the last 90 days (completed and scheduled appointments), with a confidence label from how many matching weekdays exist (8 or more high, 4 or more medium, otherwise low). Peak and low days are flagged against the average, and a short staffing recommendation is written by the AI gateway, falling back to a plain summary if the AI call fails.

There is no revenue-forecast range (conservative / mid / optimistic) and no calendar-aware projection: the forecast does not use committed bookings or seasonality.

Churn

Churn-style scoring (at-risk, lapsed, churned, booked, healthy) lives in the Retention engine page, not in Analytics, and drives win-back and rebook-nudge journeys.

Ask Your Data

Dashboard > Analytics > Ask takes a plain-English question and answers it with an AI model. It is not text-to-SQL:

  1. The server builds a fixed text summary for the brand: 90-day revenue, invoice count and average ticket, daily revenue for the last 14 days, top 5 staff by service revenue, and a new-client count. Each query is capped at 200 rows (clients are not capped), so busy brands get a partial summary.
  2. That summary and the question go to the AI gateway (query-data capability) with an instruction to answer only from the data and say so when the data does not cover the question.
  3. The answer and the supporting summary are returned.

Questions about anything outside that summary (per-client spend, a service-level ticket, location no-show rates, acquisition source) cannot be answered. There is no query generation, execution-time limit, pagination or audit log of questions. The ask action requires a signed-in user and resolves the brand from the user's first membership.

Saved Reports

Under Analytics > Saved Reports a user can create a named report of type revenue, clients, staff, retention, inventory or custom, with a from and to date; reports can be listed, deleted and exported. Only the saved name, type and date range are stored. Sharing and scheduled email delivery are not implemented.

Data Export

  • Saved report CSV: revenue (invoice list), clients (new in range) and staff (name, active). Other report types return "Export not supported".
  • Daily Sales CSV and ops report CSV from their pages.
  • Accounting exports under Accounting: P&L statement, GSTR-3B, GSTR-1, Zoho Books and Tally formats.
  • Data Import page (owners): client CSV export (name, phone, email, notes) and a full organisation export.

How the Numbers Are Computed

Monthly KPIs are computed live from invoices, appointments and clients, not from nightly views. A scheduled job (kpi-snapshot, pg_cron, daily 04:30 UTC) stores the current month into kpi_snapshots; trends read those snapshots when no store is selected and are recomputed live per month when a store is selected. Revenue figures subtract GST.

Permissions

Action org_owner brand_manager location_manager front_desk
See Analytics, Forecasting and Reports in the menu Yes Yes Yes No
Data Import page (client CSV, org export) Yes No No No

The menu hides these entries from other roles.