📌 Overview

In cofi.ai, there are several ways to align data across systems — Mapping, Database Joins, and Relationships.

Each serves a different purpose depending on your data structure and how consistently your dimensions are named.

This article helps you choose the right approach for your situation — balancing flexibility, accuracy, and ongoing maintenance needs.


🧠 Understanding Your Options

Approach Primary Use Description
Mapping Standardizing categorical values Translates similar values (e.g., “US”, “U.S.A.”, “America”) into one consistent label.
Database Join Combining data from different tables Links related datasets through a common key (e.g., Account_ID, Company_ID).
Relationship Structuring data hierarchically Connects one-to-many or parent-child datasets (e.g., Department → Sub-department).

đź’ˇ Tip: Mapping focuses on data consistency (naming), while Joins and Relationships handle data connectivity (structure).


❓When to Use Each Approach

âś… Use Mapping When:

Example: Unifying “U.S.”, “United States”, and “America” under “United States.”


đź”— Use Database Joins When: