Data Modeling With Cube
Definite uses an open source semantic layer, Cube.js, for data modeling and defining metrics
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):
For more information on data modeling with Cube.js please check out the Cube docs here.