Logical Functions

Logical functions act upon an expression to return information about the values or sets in the expression. For example, you can use the IF function to check the result of an expression and create conditional results.

In this category

ANDChecks whether both arguments are TRUE, and returns TRUE if both arguments are TRUE.
FALSEReturns the logical value FALSE.
IFChecks if a condition provided as the first argument is met.
IFERROREvaluates an expression and returns a specified value if the expression returns an error
ORChecks whether one of the arguments is TRUE to return TRUE.
SWITCHEvaluates an expression against a list of values and returns one of multiple possible result expressions.
TRUEReturns the logical value TRUE.

***** Related Blog Posts *****
60 Page DAX Formula Reference Guide Download Now Available
Show Only Top Or Bottom Results Using Ranking Formula Techniques – Power BI & DAX

How To Create Virtual Relationships Using TREATAS In Power BI

***** Related Video Tutorials *****
Ultimate Beginners Guide to DAX

What Is DAX? & Why Do You Need To Learn It – (1.2) Ultimate Beginner Guide to DAX
Formula Syntax, Comments & Variables – (1.6) Ultimate Beginners Guide to DAX
Examples Of Advanced DAX – (1.18) Ultimate Beginners Guide to DAX
Using SWITCH True Logic In Power BI – DAX Concepts

***** Related Course Modules *****
Ultimate Beginners Guide to DAX
Mastering DAX Calculations
Solving Analytical Scenarios w/ Power BI and DAX
DAX Formula Deep Dives
Advanced DAX Combinations

***** Related Support Forum Posts*****
Mastering DAX Calculations: What Is DAX?
Understanding DAX Formula
Developing Complex Dax functions
Using Complex Logic Inside Iterating Functions – Advanced DAX
Blog Post: Advanced Logic Within DAX Iterating Functions – Detailed Example

Center of Excellence


Download our comprehensive DAX Formula Reference Guide as perfect companion as you learn how to use DAX formulas within Power BI.

Download DAX Formulas Reference Guide
Download DAX Formula Reference Guide