Tellius
  • 🚩Getting Started
    • 👋Say Hello to Tellius
      • Glossary
      • Tellius 101
      • Navigating around Tellius
      • Guided tours for quick onboarding
    • ⚡Quick Start Guides
      • Search
      • Vizpads (Explore)
      • Insights (Discover)
    • ✅Best Practices
      • Search
      • Vizpads (Explore)
      • Insights (Discover)
      • Predict
      • Data
    • ⬇️Initial Setup
      • Tellius architecture
      • System requirements
      • Installation steps for Tellius
      • Customizing Tellius
    • Universal Search
    • 🏠Tellius Home Page
  • Kaiya
    • ♟️Understanding AI Agents & Agentic Flows
      • Glossary
      • Composer
      • 🗝️Triggering an agentic workflow
      • The art of possible
      • Setting up LLM for Kaiya
    • 🤹Kaiya conversational AI
      • ❓FAQs on Kaiya Conversations
      • Triggering Insights with "Why" questions
      • Mastering Kaiya conversational AI
  • 🔍Search
    • 👋Get familiar with our Search interface
    • 🤔Understanding Tellius Search
    • 📍Search Guide
    • 🚀Executing a search query
      • Selecting a Business View
      • Typing a search query
      • Constructing effective search queries
      • Marketshare queries
    • 🔑Analyzing search results
      • Understanding search results
      • Search Inspector
      • Time taken to execute a query
      • Interacting with the resulting chart
    • 📊Know your charts in Tellius
      • Understanding Tellius charts
      • Variations of a chart type
      • Building charts from Configuration pane
      • List of chart-specific fields
      • Adding columns to fields in Configuration pane
      • Absolute and percentage change aggregations
      • Requirements of charts
      • Switching to another chart
      • Formatting charts
      • Advanced Analytics
      • Cumulative line chart
    • 🧑‍🏫Help Tellius learn
    • 🕵️‍♂️Search history
    • 🎙️Voice-driven search
    • 🔴Live Query mode
  • 📈Vizpads (Explore)
    • 🙋Meet Vizpads!
    • 👋Get familiar with our Vizpads
    • #️⃣Measures, dimensions, date columns
    • ✨Creating Vizpads
    • 🌐Applying global filters
      • Filters in multi-BV Vizpads
      • Filters using common columns
    • 📌Applying local filters
    • 📅Date picker in filters
      • Customizing the calendar view
    • ✅Control filters
      • Multi-select list
      • Single-select list
      • Range slider
      • Dropdown list
    • 👁️Actions in View mode
      • Interacting with the charts
    • 📝Actions in Edit mode
      • 🗨️Viz-level actions
    • 🔧Anomaly management for line charts
      • Instance level
      • Vizpad level
      • Chart level
    • ⏳Time taken to load a chart
      • Instance level
      • Vizpad level
      • Chart level
    • ♟️Working with sample datasets
    • 🔁Swapping Business View of charts
      • Swapping only the current Vizpad
      • Swapping multiple objects
      • Configuring the time of swap
    • 🤖Explainable AI charts
  • 💡Insights (Discover)
    • 👋Get familiar with our Insights
    • ❓Understanding the types of Insights
    • 🕵️‍♂️Discovery Insights
    • ➕How to create new Insights
      • 🔛Creating Discovery Insight
      • 🔑Creating Key Driver Insights
      • 〰️Creating Trend Insights
      • 👯Creating Comparison Insights
    • 🧮The art of selecting columns for Insights
      • ➡️How to include/exclude columns?
  • 🔢Data
    • 👋Get familiar with our Data module
    • 🥂Connect
    • 🪹Create new datasource
      • Connecting to Oracle database
      • Connecting to MySQL database
      • Connecting to MS SQL database
      • Connecting to Postgres SQL database
      • Connecting to Teradata
      • Connecting to Redshift
      • Connecting to Hive
      • Connecting to Azure Blob Storage
      • Connecting to Spark SQL
      • Connecting to generic JDBC
      • Connecting to Salesforce
      • Connecting to Google cloud SQL
        • Connecting to a PostgreSQL cloud SQL instance
        • Connecting to an MSSQL cloud SQL instance
        • Connecting to a MySQL Cloud SQL Instance
      • Connecting to Amazon S3
      • Connecting to Google BigQuery
        • Steps to connect to a Google BigQuery database
      • Connecting to Snowflake
        • OAuth support for Snowflake
        • Integrating Snowflake with Azure AD via OAuth
        • Integrating Snowflake with Okta via OAuth
        • Azure PrivateLink
        • AWS PrivateLink
        • Best practices
      • Connecting to Databricks
      • Connecting to Databricks Delta Lake
      • Connecting to an AlloyDB Cluster
      • Connecting to HDFS
      • Connecting to Looker SQL Interface
      • Loading Excel sheets
      • 🚧Understanding partitioning your data
    • ⏳Time-to-Live (TTL) and Caching
    • 🌷Refreshing a datasource
    • 🪺Managing your datasets
      • Swapping datasources
    • 🐣Preparing your datasets
      • 🤾Actions that can be done on a dataset
      • Data Pipeline
      • SQL code snippets
      • ✍️Writeback window
      • 🧩Editing Prepare → Data
      • Handling null or mismatched values
      • Metadata view
      • List of icons and their actions
        • Functions
        • SQL Transform
        • Python Transform
        • Standard Aggregation
        • Creating Hierarchies
      • Dataset Scripting
      • Fusioning your datasets
      • Scheduling refresh for datasets
    • 🐥Preparing your Business Views
      • 🌟Create a new Business View
      • Creating calculated columns
      • Creating dynamic parameters
      • Scheduling refresh for Business Views
      • Setting up custom calendars
    • Tellius Engine: Comparison of In-Memory vs. Live Mode
  • Feed
    • 📩What is a Feed in Tellius?
    • ❗Alerts on the detection of anomalies
    • 📥Viewing and deleting metrics
    • 🖲️Track a new metric
  • Assistant
    • 💁Introducing Tellius Assistant
    • 🎤Voice-based Assistant
    • 💬Interacting with Assistant
    • ↖️Selecting Business View
  • Embedding Tellius
    • What you should know before embedding
    • Embedding URL
      • 📊Embedding Vizpads
        • Apply and delete filters
        • Vizpad-related actionTypes
        • Edit, save, and share a Vizpad
        • Keep, remove, drill sections
        • Adding a Viz to a Vizpad
        • Row-level policy filters
      • 💡Embedding Insights
        • Creating and Viewing Insights
      • 🔎Embedding Search
        • Search query execution
      • Embedding Assistant
      • 🪄Embedding Kaiya
      • Embedding Feed
  • API
    • Insights APIs
    • Search APIs
    • Authentication API (Login API)
  • ✨What's New
    • Release 5.4
      • Patch 5.4.0.x
    • Release 5.3
      • Patch 5.3.1
      • Patch 5.3.2
      • Patch 5.3.3
    • Release 5.2
      • Patch 5.2.1
      • Patch 5.2.2
    • Release 5.1
      • Patch 5.1.1
      • Patch 5.1.2
      • Patch 5.1.3
    • Release 5.0
      • Patch 5.0.1
      • Patch 5.0.2
      • Patch 5.0.3
      • Patch 5.0.4
      • Patch 5.0.5
    • Release 4.3 (Fall 2023)
      • Patch 4.3.1
      • Patch 4.3.2
      • Patch 4.3.3
      • Patch 4.3.4
    • Release 4.2
      • Patch 4.2.1
      • Patch 4.2.2
      • Patch 4.2.3
      • Patch 4.2.4
      • Patch 4.2.5
      • Patch 4.2.6
      • Patch 4.2.7
    • Release 4.1
      • Patch 4.1.1
      • Patch 4.1.2
      • Patch 4.1.3
      • Patch 4.1.4
      • Patch 4.1.5
    • Release 4.0
Powered by GitBook

© 2025 Tellius

On this page
  • Row-level vs. Column-level calculations
  • Creating a new calculated column

Was this helpful?

Export as PDF
  1. Data
  2. Preparing your Business Views

Creating calculated columns

Create per-row computations (Row Level) or aggregated metrics (Column Level)

PreviousCreate a new Business ViewNextCreating dynamic parameters

Last updated 4 months ago

Was this helpful?

Calculated Columns are a powerful feature that allows you to create custom columns within your dataset by applying formulas or calculations. This feature is especially useful for extending your raw data with new metrics or business-specific values without altering the original source data.

  • Create columns tailored to your needs, such as profit margins, customer lifetime value, or custom KPIs, directly within your BV.

  • Instead of repeatedly performing calculations in external tools like Excel, you can define them once and reuse them seamlessly within Tellius.

  • Calculated columns extend your dataset without altering the original data, ensuring the integrity of your source remains intact.

  • With calculated columns, you can preprocess data to prepare it for deeper analysis.

You can search for the required calculated column and each column displayed in the table can be sorted in ascending or descending order. In Edit mode, you will get Undo and Redo buttons left to the search bar for reverting or reapplying changes made to the calculated columns, ensuring flexibility and control over your edits. Each row in this table shows the following:

  • Column Name: Name of the calculated column

  • Display Name: A user-friendly label for the column

  • Synonyms: Alternate names for natural-language search

  • Formula: The actual expression or calculation.

  • Calculation Type: Choose whether Column-level or Row-level.

  • Data format: Represents how numeric or date values are displayed (e.g., Decimal, Percentage, Currency).

  • Hidden: A flag controlling whether this column is visible to end-users or in search queries. Allows you to hide intermediate fields that are only used for further calculations, or sensitive columns not meant for broad consumption.

  • Description: Describing the purpose and logic of calculated columns when they hover over or view the column in Tellius

  • Status: Indicates whether the column is Published (visible and usable in analyses) or in Not Published draft state. If any changes are made to the existing calculated columns, then the Status will be changed to Edited before publishing.

Row-level vs. Column-level calculations

For example, max(Discount) is an aggregate (column-level), whereas Price * Quantity might be a row-level expression.

Row Level: Applies the expression to each individual row in your data. You get a result per row (like total cost of a single order line).

Examples:

  • Price * Quantity

  • Cost - Expense

  • Cost / Transactions

Use row-level when:

  • You need a per-row calculation in the dataset (e.g., extended price of an order line).

  • The formula references only non-aggregated fields (e.g., Order_Price, Discount_Rate).

  • Results appear as a new unaggregated column, meaning each row has its own calculated value.

Column Level: An aggregate calculation applied across rows, resulting in a single value or grouped values.

Examples:

  • sum(Sales) / sum(Leads) * 100

  • sum(Sales) / count(Order)

  • max(Discount)

Use column-level when:

  • You want an aggregated metric (like a ratio, average, or max) that’s computed at the group or entire dataset level.

  • You're looking to create KPI calculations such as conversion rates, total sums, or highest discount.

Creating a new calculated column

Under Data → Business Views → Calculated Column, click on Edit → Create new calculation, and the following window will be displayed:

Calculated Column Name: A name for the new calculated column (e.g., gross_margin).

Description: A short text detailing the column’s purpose or formula logic.

Display Name: The user-friendly label that appears in charts and searches (e.g., Gross Margin instead of gross_margin).

Synonyms: Alternate names or phrases for natural language search (e.g., “profit margin,” “gross margin %”). Press Return (or Enter) to add each synonym.

Formula: A text area to define your expression—e.g., Price * Quantity or max(Discount). The columns of the selected Business View will be displayed in the right pane for your reference.

Validate / Preview Results: Validate your formula syntax and click on Preview Results to view the sample output before saving.

After providing all the required details, click on Create, and the calculated column will be added to the table in "Not Published" state.

Click on Publish to save the BV with the newly created calculated columns.

🔢
🐥
Calculated columns table
Create new calculated column
Preview with sample data