if (this.templateSrv.timeRange && this.templateSrv.timeRange.to) {
          const to = `${partitionedField} < '${BigQueryQuery.formatDateToString(
            this.templateSrv.timeRange.to._d,
            this.target.convertToUTC,
            '-',