Skip to content

Visual Modeling ​

TIP

Define semantic models in admin pages, without writing files or code.

This approach suits lightweight modeling; for complex, engineering-grade models we recommend YAML / JSON files or Java annotations, versioned with your code.

1. Add the Dependency ​

xml
<dependency>
    <groupId>xyz.erupt</groupId>
    <artifactId>erupt-cube-design</artifactId>
    <version>${erupt.version}</version>
</dependency>

2. Add a Menu Entry ​

Set the menu type value to: CubeDesignModel

3. Configure the Model ​

Configure the SQL, dimensions, and measures on the visual page:

  • Datasource: uses the default data source when left empty
  • Dimensions: usually no configuration needed — SQL aliases are converted to dimensions automatically; use this panel to fine-tune the result if needed
  • Measures: just configure the aggregate function

Metric Management ​

Contributors

The avatar of contributor named as YuePeng YuePeng

Changelog

Released under the Apache-2.0 License.