Appearance
Asemic Building Blocks
Semantic Layer
The Semantic Layer (SL) is the core of Asemic's analytics engine. It provides a flexible, powerful way to model your data and define complex metrics and KPIs. The Semantic Layer consists of three distinct layers, each building upon the previous to create a comprehensive model of user behavior.
- Layer 1: User Events: Contains definitions of User Events and other User Event-like tables.
- Layer 2: User Properties: Contains formulas for calculating properties from User Events. This is used for building state model of User Entity that enables following a user through time and simplifies calculating metrics and working with metrics. Properties are aggregated events on User, Day level.
- Layer 3: Metric Layer: This is what normally semantic layers offer, a layer with strict definitions of key metrics consistent accross the organization. Metrics are expressed as functions of properties and other metrics. Metrics are properties aggregated on a daily level across users.
Data Model
Semantic Model provides clear and consistent definitions of key metrics and entities.
Asemic creates physical data model, aka tables in a data warehouse, based on the logical model defined in Semantic Layer, not the other way round.
Logical model describes each user state on (the end of) each day since it appeared. Physical table that would follow that model would quickly become difficult to work with, so Asemic imploys some tricks and optimizations, using several much smaller tables instead without practical loss in capabilities. These tables are automatically calculated from SL which guarantees consistency between tables and between physical model and what Asemic expects.
This approach has several advantages:
- Data Model provides backbone for working with User Events that enables some things that are othervise out of reach for on-the-fly computation on events.
- Data Model also tremendously speeds up calculation of metrics that are well established. This provides smooth experience for reporting needs.
- As data model is calculated from User Events, Asemic can use definitions from Semantic Layer to calculate fields ad-hoc, without the need for materializing them first. This makes data model always in sync with SL with no extra effort.
- It makes conversations easier as each concept has well defined place.
Asemic CLI
The Asemic CLI is used for managing your Semantic Layer and maintaining physical data model.
Current list of operations are:
bash
asemic-cli user-entity-model event # run to generate event layer config
asemic-cli config validate # validates your setup without changing production
asemic-cli config push # once validation passes, push your configuration
asemic-cli user-entity-model backfill \
--date-from='2024-08-23' \
--date-to='2024-08-25' # run to update the data model for the selected
AsemicBI
The Asemic BI tool is a web application that serves as the primary interface for analyzing data processed through Asemic's Semantic Layer. Key features include:
- User-friendly interface for creating custom dashboards without SQL knowledge
- Automatic chart suggestions via the Layout Engine
- Advanced filtering, including Time Travel for temporal analysis
- KPI Explorer for data exploration
- Funnel and Cohort Analysis for user behavior insights
- Smart Date Picker for flexible time period selection
- Annotations feature for adding context to data trends
The tool translates complex data structures into business-friendly terms, allowing users to work with concepts like "Monthly Active Users" or "Customer Lifetime Value" directly. It adapts to user needs in real-time, enabling quick, data-driven decision-making across organizations.
By combining powerful analytics with an accessible interface, the Asemic BI tool bridges the gap between raw data and actionable business insights.
In the next section we'll go over the basic steps of setting up Asemic and starting with analysis on your data.