Once source integrations have been added and synced to Definite, you can model the data in Definite’s model builder. Data models allow you to create custom transformations on the data (eg data cleaning, specifying joins, normalizing fields) as well as defining metrics (eg calculations for MRR, metric descriptions).

To access models click on Models in the left menu:

Once inside the model builder you can create new Cubes (models) or edit existing models:

The default currency in our cube models is USD. Use the sample code below to format it to your preferred currency (e.g. EUR):

- name: total_tip_amount_eur
  type: sum
  sql: tip_amount
  title: Total Tip Amount EUR
  format: currency
  meta:
    currency_code: EUR

For more information on data modeling with Cube.js please check out the Cube docs here.