Function Listcase_whenOn this pageCASE_WHEN functionReturns one value if a logical expression (condition) is TRUE and another if it is FALSE. Syntax case_when(<condition>, <then>, <else>) ParameterTypeDescriptionconditionboolthenanyelseany Usages case_when(`total_amount` > 100, "High", "Low")