<cell> Conditional
<cell> IF
<cell> If
condition is true, returns
true_result , else returns
false_result .
false_result is not evaluated if
condition is true.
true_result is not evaluated if
condition is false or NULL. [Learn more](/looker/docs/studio/if)
<cell>
<span class="notranslate">
IF(condition, true_result, false_result) </span>
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-19 UTC.