跳转至

Formulas(公式(Formulas))

Several types of Quiver cards allow you to type mathematical expressions into a formula box to transform data in your analysis. Inputs of formulas can be numbers, categorical charts, or time series. Quiver uses a custom mathematical expression language for formulas.

  • Basic arithmetic operations are supported (multiplication, division, addition, subtraction, etc.), along with more complex mathematical expressions.
  • You can refer to data in your analysis by using their global identifiers (e.g. $A).
  • Quiver’s autocomplete will suggest built-in functions, along with matching inputs from your analysis based on their name.

The following Quiver card types support formulas:

Formulas can also be found in some transform table transformations, such as Boolean formulas, numeric formulas, or time series formulas. In the transform table, you can reference input columns in formulas using the @ symbol (e.g. @column > 0).

Consult the formula syntax documentation for more details about supported expressions.


中文翻译

公式(Formulas)

多种类型的Quiver卡片允许您在公式框中输入数学表达式,以转换分析中的数据。公式的输入可以是数字、分类图表或时间序列。Quiver使用自定义的数学表达式语言来处理公式。

  • 支持基本算术运算(乘法、除法、加法、减法等),以及更复杂的数学表达式。
  • 您可以通过全局标识符(例如 $A)引用分析中的数据。
  • Quiver的自动补全功能会建议内置函数,并根据名称匹配分析中的输入。

以下Quiver卡片类型支持公式:

公式也出现在某些转换表(transform table)的转换操作中,例如布尔公式、数值公式或时间序列公式。在转换表中,您可以使用 @ 符号引用公式中的输入列(例如 @column > 0)。

有关支持表达式的更多详细信息,请参阅公式语法文档