SQL query variablesQuery variables

Scale reporting with query variables

Define flexible variables so business users can safely customize and refresh reports.

PopSQL query variables view
hero background image

PopSQL is trusted by 2000+ of the world's top data teams

No-code customization

Empower business users

Let business users and execs customize their own reports without requiring an analyst for every question.

Empower business users with PopSQL

Protect analyst time

Let analysts focus on high-impact projects, rather than repeat ad-hoc requests. On average, analysts save 40 hours per month.

Save 40 hours per month with PopSQL

Flexible ways to customize reports

  • PopSQL multiple types

    Multiple types

    PopSQL supports multiple variable types: string, number, date, boolean, dropdown, and multiselect.

  • PopSQL If / else statements

    If / else statements

    SQL doesn't support if/else statements or variables out of the box. PopSQL makes your SQL dynamic with Liquid.

  • PopSQL works with dashboards & schedules

    Works with dashboards & schedules

    Query variables can be used outside your query too. Use it to power dashboards or recurring schedules for stakeholders.

  • SQL-powered variables

    SQL-powered variables

    Write a query to update dropdown and multiselect lists dynamically.

Why PopSQL?

PopSQL enables your team to leverage existing infrastructure and tooling, elevating your workflow.

a

Run 100ms PostgreSQL queries onĀ billionsĀ of rows with TigerData+PopSQL.

Try it out for free

Works with any database

PopSQL supports every major database provider out there.