Naming Conventions
Boolean Columns
Overview
Boolean columns are named to clearly reflect a true or false condition, and are always phrased in the form of a question. This convention helps in understanding the purpose of the column at a glance, indicating a specific dimension of an entity that can either be true or false.
Boolean column name formula
is_{{ entity }}_{{ dimension }}
Examples
is_price_tax_inclusive
, whereprice
is theentity
andtax_inclusive
is thedimension
indicating whether the price includes taxis_product_gift_card
, whereproduct
is theentity
andgift_card
is thedimension
indicating whether the product is a gift card
Was this page helpful?