Presight
  • 👋INTRODUCTION
    • What is Presight?
    • Core Concepts
      • Metrics
      • Events
      • Segments
        • Source Columns
        • Custom Segments
    • The Presight Workspace
      • Workspace Overview
      • The Data Docs
      • Data Library (Datahub)
  • ➡️DATA IN
    • Connect
      • Data Warehouse
      • Data Connectors
        • API Connector
        • Google Sheets Connection
        • CSV Import
        • Dimensional Dates (Dimdates table)
        • QuickBooks Online
        • HubSpot Connector
    • Sync
    • Tables & Columns
      • Browse & Edit
      • Primary Key
    • Governance
  • ⚙️MODEL
    • Data Relationships
      • Table Relationships
      • Hierarchy
    • Metrics
      • Create Metrics
      • Ownership & Permission
      • Deletion
    • Events
      • Creating Events
    • Custom Tables
      • Table Builder
        • Filter a Dataset
        • Simple Data Enrichment
        • Advanced Enrichment - Segmentation
      • Custom SQL Query
    • Segments & Custom Segments
      • Dimensions from Data Sources
      • Create a New Dimension
    • Formulas
      • Metric Formulas
      • Data Transformation Formulas
  • 📊ANALYSIS
    • The Data Docs
      • Explorations
        • Docs Widgets
      • Reports
      • Dashboards
      • Layout & Beautify
      • Organize
      • Collaboration
    • Data Widgets
      • Charts
        • Query Syntax
        • Data in a Chart
        • Interacting with a Chart
          • Breakdown
          • Chart Filter
          • Time Change
          • Chart Menu
          • View Constituent Records
          • Version views in Chart
        • Chart Configuration
      • Metric Table
        • Creating a Table
        • Interact with a Table
          • Adding Metrics
          • Adding Sections and Organizing metric list
          • Table Filter
          • Table Summaries
          • Quick Chart Creation from Table
          • Timeline Navigation
        • Table Menu
        • Table Breakdown
        • Breakdown Options
        • Interact with Table Metrics
        • [Advanced] Automatic Variance Calculation
      • Records Table
        • Accessing Data Records on-demand
    • Breakdowns & Filters
      • [Advanced] Dimension Path
    • Event Analytics
      • Event Funnel
      • Cohort
      • Event Path
    • Segmentations
      • Metric Segments
      • Filtered Segments
    • Ask AI (Beta)
      • Ask Presight
      • Presight AI in your Chat Tools
  • 📈PLANNING
    • Creating Versions
    • Interacting with Versions
    • Interacting with Future Data
    • Forecasting a Metric
  • 🏛️GOVERNANCE
    • Overview
    • Table Restriction
    • Metric Permission & Sharing
    • Doc Sharing
  • ⬇️DATA OUT
    • Export Data
Powered by GitBook
On this page
  • What is a Custom Segment?
  • Example Use-cases
  • 1. Calculated Segments
  • 2. Data Transformation
  • 3. Conditional Logic
  • 4. Combining Attributes
  • How to Create Custom Segments
  • 1. Column Creator
  • 2. Table Builder
  • 3. Using Formulas
  1. INTRODUCTION
  2. Core Concepts
  3. Segments

Custom Segments

In data analysis, raw data often requires transformation to extract meaningful insights. Custom segments are powerful tools that allow you to create new groupings or categories based on logical expressions applied to existing raw data fields. By using custom segments, you can manipulate and enhance your data to align with specific analytical needs, enabling more nuanced and insightful analysis.

What is a Custom Segment?

A custom segment is a new grouping that you create by applying calculations, transformations, or logical expressions to one or more existing data fields in your dataset. This process involves defining an expression or condition that combines or filters the data from the raw fields to produce a new categorized subset.

Custom segments serve as a way to:

  • Transform Data: Reorganize raw data into more meaningful groups.

  • Perform Calculations: Compute new metrics or indicators based on specific criteria.

  • Categorize Data: Group data into segments based on defined rules or conditions.

  • Enhance Analysis: Provide additional perspectives for analysis that are not apparent in the raw data.


Example Use-cases

1. Calculated Segments

Create a custom segment that groups data based on calculated values from existing numerical fields.

Example: Segment products based on profit margin.

  • Calculation: (Revenue - Cost) / Revenue * 100

  • Segments:

    • High Margin Products: Profit margin > 30%

    • Medium Margin Products: Profit margin between 10% and 30%

    • Low Margin Products: Profit margin < 10%

2. Data Transformation

Modify or create segments based on transformations of existing data fields.

Example: Segment transactions by year extracted from a date field to analyze annual trends.

  • Transformation: Extract YEAR(Order Date)

  • Segments: Group transactions by each year.

3. Conditional Logic

Create segments based on specific conditions applied to your data.

Example: Categorize customers based on their total spend.

  • Conditions:

    IF(Total Spend > 5000, "Platinum",
       IF(Total Spend > 2000, "Gold",
          IF(Total Spend > 1000, "Silver", "Bronze")))
  • Segments: Assign customers to "Platinum," "Gold," "Silver," or "Bronze" categories.

4. Combining Attributes

Create segments by combining values from multiple data fields.

Example: Segment customers by combining their geographic location and purchase behavior.

  • Combination: Region = "North America" && Purchase Frequency = "High"

  • Segments: "North-America-High Frequency", "Others".


How to Create Custom Segments

While the specific steps may vary depending on the data analysis tool you are using, creating custom segments generally involves:

1. Column Creator

The Column Creator is a straightforward tool that allows you to add new segments directly within your existing data tables. With its intuitive interface, you can build custom segments by applying business rules and calculations without needing technical expertise. These custom segments seamlessly integrate into your data tables and are ready to be used across analyses and reports.

2. Table Builder

The Table Builder provides a flexible environment to create new tables with custom segments, conditions, and filters. It offers an Excel-like experience, utilizing familiar formula expressions to define custom segments and making data manipulation accessible. You can combine and transform data from multiple sources, performing advanced calculations and aggregations to generate new insights tailored to your analytical needs.

3. Using Formulas

Presight's Breakdown Formula feature allows you to create custom segments on the fly within your analyses and reports. You can define dynamic calculations and custom expressions directly within your reports, adapting your analyses in real-time to address immediate business questions. By leveraging a wide range of mathematical, statistical, and logical functions, you can derive new metrics and enhance your data analysis without altering the underlying data tables.

PreviousSource ColumnsNextThe Presight Workspace

Last updated 5 months ago

👋
Creating a new Dimension
Table Builder