Skip to main content
Aliases the source view with a new name. This parameter is often used for multiple joins, such as when both buyers and sellers are populated via the users table.

Syntax

Properties

string
The alias name for the source view. Both the original view name (join_from_view) and this alias can be used in the on_sql parameter.
This alias only exists within this relationship’s on_sql and the topic’s joins parameter. It can’t be referenced in a view file’s own field or dimension SQL, declared in a topic’s views parameter without an extends parameter, or used as a join target in a different relationship — doing so produces a Relationship alias duplicates view name or Table not found error. See Alias scope for the workaround.

Examples

Re-labels buyers as users in the join