Get Started

Question Variables

Configure question variables so saved queries can accept dates, date ranges, selects, and other reusable inputs without editing the SQL each time.

Updated July 6, 2026

Question variables let you turn parts of a query into reusable inputs. When a query includes placeholders such as {{start_date}} or {{region}}, FireAI shows them in the Variable Settings panel so you can choose the right input type and default value.

Open variable settings

  1. Open a question or query in the editor.
  2. Add variables in the query using the {{variable_name}} format.
  3. Open Variable Settings to choose the variable type and default value for each placeholder.

Configure date range variables

For Date Range variables, you can choose a preset such as Week Range, Month Range, or Year Range, or switch to Custom Date Range.

  • In preset modes, clicking a day expands the value to the full week, month, or year for that selection.
  • In custom mode, select the start and end dates directly.
  • The calendar popup includes Apply and Reset, so draft changes are only saved when you confirm them.