
- DAX Functions Tutorial
- DAX Functions - Home
- DAX Functions - Introduction
- DAX Parameter Naming Conventions
- Description Structure
- DAX Functions - Aggregation
- DAX Functions - Filter
- DAX Functions - Time Intelligence
- DAX Functions - Date and Time
- DAX Functions - Information
- DAX Functions - Logical
- Math & Trigonometric Functions
- DAX Functions - Parent & Child
- DAX Functions - Statistical
- DAX Functions - Text
- DAX Functions - Other
- DAX Functions Useful Resources
- DAX Functions - Quick Guide
- DAX Functions - Useful Resources
- DAX Functions - Discussion
DAX Logical - OR function
Description
Checks whether one of the arguments is TRUE. Returns TRUE if at least one of the arguments is TRUE and returns FALSE if both the arguments are FALSE.
Syntax
OR (<logical1>, <logical2>)
Parameters
Parameter | Description |
---|---|
logical1 | Logical values that you want to test. | logical2 |
Return Value
- TRUE if any of the two arguments is TRUE.
- FALSE if both the arguments are FALSE.
Remarks
DAX OR function takes only two arguments. If you have more than two arguments, either nest the OR functions or use the logical OR operator ||.
Example
= OR (Results[Medal Count]>150,Results[Count of Sport]>150) = OR ([Medal Count]<500, [Count of Sport]>100) Both the above DAX formulas return True as [Count of Sport] > 100 is True. OR ([Medal Count]<500, [Count of Sport]<100) Returns False as both arguments are False.
dax_functions_logical.htm
Advertisements