> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omni.co/llms.txt
> Use this file to discover all available pages before exploring further.

# join_from_view - Relationships

> Defines the source view from which the join originates.

Defines the source view from which the join originates. This parameter works in conjunction with [`join_to_view`](https://docs.omni.co/modeling/relationships/parameters/join-to-view) to establish the relationship between two views in your data model.

## Limitations

Views representing a [data input table (CSV/XLSX upload)](https://docs.omni.co/analyze-explore/data-input-csvs.md) can't be used in a join unless the table has been uploaded to a database. This requires defining an **Upload schema** for the underlying database connection.

## Syntax

```yaml theme={null}
join_from_view: <source_view>
```

## Properties

**join\_from\_view** `string` *required*

The name of the source view from which the join originates. This view must exist in your data model.

## Examples

```yaml title="Join originating from the buyers view" highlight={1} theme={null}
- join_from_view: buyers
  join_from_view_as: users
  join_to_view: user_facts
  join_type: always_left
  on_sql: ${users.id} = ${user_facts.id}
  relationship_type: one_to_one
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.