Formula Metric | Fina Docs

Skip to main content

On this page

What is the power of Spreadsheet? It is the ability to create formulas to manipulate data.

So does Fina.

Metrics ​

Metrics are the building blocks of Fina. They are the logic names to represent a data point, such as

  1. total expense in grocery
  2. total income in a year
  3. 0.05 or 5%
  4. number of months in a quarter
  5. double of grocery expenses plus transportation cost

According to the examples above, you can tell there are 3 types of metrics:

Formula Editor ​

The formula editor is a powerful tool that allows you to create custom formulas to manipulate data.

Let's take a look at the formula editor:

There are a few key components of the formula editor:

  1. Formula Name: The name of the formula. You can click the name to edit it.
  2. Formula Expression: The formula expression is the actual formula that you want to create. It is a normal math expression that you use to compute a new value based on existing references, in this example, they are:
    • A: Total credit balance.
    • B: Interest rate.
    • C: Minimum amount.
  3. Formula Type: The formula result data type. You can choose from 3 types of data types: Number, Percentage, and Money. It impacts how the formula result is displayed in the block.
  4. Formula References: As mentioned above, the formula references provide the data points to compute the formula. Each reference is a metric, you can choose one of the metric type to define them.

Variable Visibility ​

Each referened metric in the formula editor has a visibility setting, check the eye icon. When choosing visible, the reference will be shown in the block, which means when the page is shared with others, the metric reference can be seen by viewers and modified by viewers.

They can play with the whole block and change different values to see how the formula result changes. This is a great way to share your work with others and let them explore the data.

People can easily build a calculator with Fina, and share it with others.

info

Here is one formula demo example that you can import into your workspace and play with it: Formula Demo.

Enjoy The Power of Formula!