PostHog Reporting Guide: Custom Axis Labels, Combined Events, Session Funnels, and SQL Variables

Label Trends axes by unit and denominator, combine split event names with OR logic without double-counting users, inspect people inside session funnels, and check SQL variable dependencies before editing.

Part of PostHog Audit: 12 Checks Before You Trust the Data.

A large bar chart with five plain white bars and a heavy L-shaped axis. A pale dashed tag reading count floats away from the Y axis, tilted, while a blue tag reading Qualified signups sits locked on top of the Y axis.

Most analytics misunderstandings happen inside charts whose underlying events are technically working: a stakeholder reads event occurrences as unique buyers, sums two overlapping Trends lines by hand, switches a session funnel to person aggregation to inspect abandoners, or breaks three saved dashboards by renaming a shared SQL variable.

Four PostHog reporting controls close those gaps directly inside Product Analytics and SQL: custom X-axis and Y-axis labels on Line and Bar Trends charts, inline OR event combination, person and recording drill-down inside session-based funnels, and dependency-tracked SQL variables. (+ / + / +)

Below is how to configure each control in PostHog, backed by the counting proofs and dashboard QA checks we run before handing a reporting surface to a client.

Line and bar Trends charts in PostHog let you set custom X-axis and Y-axis labels inside the chart's Options menu, replacing generic count defaults with the exact unit and denominator on the plot. (+)

PostHog Trends line chart Options panel with custom X-axis and Y-axis label fields highlighted

Dashboards are mostly read by founders, marketers, and operators who did not configure the query. When a Y-axis says nothing or shows a raw tool default, readers guess whether a bar represents total event fires, unique visitors, sessions, or dollars. Long custom labels truncate automatically so they never clip the plot area, which makes concise, unit-explicit wording essential.

What we check on axes, step names, and card descriptions during dashboard QA

  • Name the unit and denominator on the Y-axis: Write Unique checkout starters, Completed orders (USD), or Signup rate (% of pricing viewers). Avoid vague labels such as Performance or Conversions that hide whether repeats are counted.
  • Rename duplicate-event funnel steps explicitly: When a Funnel filters $pageview across several URLs (for example landing page, pricing page, and checkout), give each step a custom step name so hover cards and conversion tables stay readable without opening the query editor.
  • Keep card descriptions under 400 characters: PostHog caps insight descriptions at 400 characters. Use that space to state active exclusions (such as internal traffic filters or paid-traffic cohorts) and where custom axis labels do not appear, such as Number, Pie, and Table views. (+)
  • Toggle breakdown table totals in the UI: On Trends breakdown tables, PostHog's synthetic Total row requires toggling Show total row in the chart UI; updating an insight payload via API alone will not render the summary row until saved through the interface.

Open Product analytics > Trends, pick the first event in a series, and add related event names inline inside the same series (also available inline on Funnel steps). PostHog evaluates the selected events with logical OR, plotting them as a single series without requiring a saved Action. (+)

PostHog Trends series editor with the Combine events control highlighted
Combining multiple event names inline inside one PostHog Trends series

Inline combination is ideal when event naming drift or a schema migration left one product outcome split across old and new event names (such as signup_completed before a release and account_created after it). However, how PostHog counts that OR union depends entirely on your aggregation mode.

Controlled counting check: Unique users vs Total count on combined events

Suppose three visitors interact with a signup flow during the same day across five tracked occurrences: User A triggers signup_button_clicked once and signup_submitted once; User B triggers signup_button_clicked twice; and User C triggers signup_submitted once. Plotting separate series and adding them by hand produces the wrong user total, as shown in this breakdown:

Series setupTotal countUnique usersWhat happens to User A (triggered both events)
signup_button_clicked alone32 (Users A, B)Counted once in this series
signup_submitted alone22 (Users A, C)Counted once in this series
Manual sum of the two lines54 (wrong)Double-counted across the two lines
Inline Combine events (OR)53 (Users A, B, C)Deduplicated once per time bucket under Unique users; counted twice under Total count
  • Inline OR never deduplicates order retries under Total count: Under Total count, every matching event occurrence adds to the bar. If a checkout webhook fires twice for the same order, rely on event uuid deduplication at ingestion or query count(distinct properties.order_id) in SQL. (+)
  • Daily unique users never sum to monthly unique users: Even inside a combined Unique users series, a visitor active on Tuesday and Thursday counts once in Tuesday's point and once in Thursday's point. Switch the chart type to Number or a full-range Total value bar to read deduplicated unique users across the entire 30-day window. (+)
  • When to promote inline combination to a saved Action: Keep inline OR for chart-local exploration or bridging a one-off event rename. Create a saved Action under Data management > Actions when the same composite definition must power multiple dashboards, cohorts, or experiment metrics. Before editing an existing Action in place, check every attached insight and running test: changing a saved Action retroactively alters historical dashboard cards and experiment readouts on their next refresh. (+)

How do you inspect who dropped off in PostHog session-based funnels?

In a Funnel insight aggregated by Unique sessions, click any step's completed or dropped-off bar (or the linked count in the table below the chart) to open the person list for those sessions, jump straight into View recordings, or save the group as a cohort. (+)

PostHog funnel step details listing 46 unique sessions, a person record, and View recordings controls

Previously, drilling into specific abandoners meant switching the funnel to Unique users, which changed the conversion denominator whenever visitors took multiple sessions to buy. Clicking directly into a session-aggregated drop-off preserves the exact single-visit denominator while surfacing the people, device properties, and session replays behind that step. You can also click ... beside any funnel step and select Show user paths after drop off to see which pages abandoners visited next. (+)

  • Use Unique sessions for single-visit friction: Landing-page-to-cart flows, mobile checkout forms, and paid-click bounce diagnostics belong in Unique sessions because each visit is a distinct conversion attempt.
  • Use Unique users for multi-visit journeys: SaaS trial activation, B2B demo pipelines, and high-ticket purchases spanning several days belong in Unique users so a buyer who researches on mobile and purchases on desktop after logging in counts as a conversion.
  • Account for cookie-free consent tiers: On sites that run PostHog without cookies before analytics consent (using in-memory or tab-scoped sessionStorage persistence, as we run under Limited access on 99ways.io), every new browser tab or return visit generates a fresh anonymous person ID. That inflates multi-day Unique users denominators on top-of-funnel steps while single-tab Unique sessions funnels remain internally consistent within the visit.
  • Check step occurrence matching on URL-filtered funnels: Keep filtered $pageview steps set to First occurrence matching filters. Selecting First-ever occurrence on a step filtered to /pricing excludes every visitor whose first-ever pageview landed on / before navigating to /pricing. (+)

How do you manage SQL variables and dashboard filter overrides in PostHog?

Create reusable inputs from the Variables button in the PostHog SQL editor, reference them in queries with {variables.<code_name>}, and check the SQL variables management view to see every saved insight that depends on a variable before renaming, re-typing, or deleting it. (+)

PostHog SQL variables management page listing variable names, code names, types, defaults, and the New variable button

SQL variables let one governed HogQL query serve multiple dashboards or segments: set a default value (such as a domain name, minimum order value, or event list) in the variable form, then override it from the dashboard's Variables dropdown without cloning the SQL card. (+)

PostHog New variable form with fields for name, type, and default value

Combining {variables} with {filters} without triggering dashboard HTTP 500 errors

Custom {variables.*} work alongside PostHog's built-in dashboard filter placeholders. Adding WHERE {filters} on events, sessions, or persons automatically applies the dashboard's date range, property filters, and test-account exclusions, while dateTrunc({filters.interval('day')}, timestamp) lets the dashboard interval selector switch cards cleanly between daily, weekly, and monthly buckets: (+)

SELECT
    dateTrunc({filters.interval('day')}, timestamp) AS period,
    count(DISTINCT person_id) AS unique_converters
FROM events
WHERE event = {variables.target_event}
  AND {filters}
GROUP BY period
ORDER BY period
  • Keep {filters.dateRange.from} and {filters.dateRange.to} out of CTE SELECT columns: During our own PostHog dashboard QA, queries that selected {filters.dateRange.from} inside a CTE ran in the ad-hoc SQL editor and then returned HTTP 500 once saved to a dashboard card with an active date override. Place {filters} or {filters.dateRange.*} strictly inside WHERE clauses.
  • Bind columns explicitly on custom warehouse views: When querying a joined revenue or CRM view, bind filter keys with WHERE {filters(order_created_at AS timestamp, plan_tier AS 'plan')}. If someone applies an unbound dashboard filter, PostHog raises a visible error so the card never displays unfiltered totals under a filtered dashboard header. (+)
  • Verify period totals after switching intervals: Changing a dashboard's grouping interval between day, week, and month should re-bucket time-series SQL cards without altering the period-wide total on summary cards. Run a quick PostHog audit check comparing SQL funnel counts against native Funnel insights whenever you ship a new executive dashboard.

Frequently asked questions

Which PostHog chart types support custom X-axis and Y-axis labels?

Line and bar Trends charts support custom X-axis and Y-axis labels inside the chart's Options panel, and long labels truncate automatically to stay within the plot area. Number, Pie, Donut, and Table views rely on series names and the 400-character insight description. (+)

Does a custom axis label change the event name, formula, or Breakdown legend?

No. Custom axis labels change only the displayed X-axis or Y-axis text on that specific chart; event names, series aliases, Breakdown values, and SQL definitions across the project remain unchanged.

When should I combine events inline vs create a PostHog Action?

Combine events inline when you need a fast OR union inside a single Trends or Funnel chart, such as bridging an old and new event name. Create a saved Action when that definition must stay identical across multiple dashboards, cohorts, alerts, or experiments, and audit dependent insights before editing a saved Action in place. (+)

How do I keep a Trends chart continuous after renaming an event?

Select both the legacy event name and the new event name inside the same Trends series using inline combination. Because PostHog applies logical OR across the selected events and deduplicates per time bucket when aggregated by Unique users, historical rows before the rename and new rows after it plot as one continuous series. (+)

Why does a saved PostHog SQL insight fail on a dashboard when I change the date range?

Two causes account for most dashboard SQL failures: selecting {filters.dateRange.from} or {filters.dateRange.to} as columns inside a CTE (move them into a WHERE clause or use WHERE {filters}), or applying a dashboard property filter to a custom table without binding that column via {filters(col AS 'property')}. (+)

About the author

Moein Heshmati

Moein Heshmati

Moein Heshmati leads data systems and engineering at 99Ways, specializing in analytics engineering, tracking, and experimentation systems. He writes about data quality, measurement, technical implementation, and reliable experimentation.

More articles

Where is growth getting stuck?

Book a free 45-minute call with Iman. Show him your site and, if you can, your analytics. You’ll leave knowing what to fix or test first.

Book a free call