Skip to content

Commit 23c6812

Browse files
authored
Merge pull request #113247 from djpmsft/docUpdates
fixing iifNull
2 parents f6017a1 + 6382664 commit 23c6812

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/data-factory/data-flow-expression-functions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,11 @@ Based on a condition applies one value or the other. If other is unspecified it
320320
___
321321
### <code>iifNull</code>
322322
<code><b>iifNull(<i>&lt;value1&gt;</i> : any, [<i>&lt;value2&gt;</i> : any], ...) => any</b></code><br/><br/>
323-
Checks if the value is NOT NULL and returns it else returns the alternate. It tests for all inputs until it finds the first non-null value
323+
Checks if the first parameter is null. If not null, the first parameter is returned. If null, the second parameter is returned. If three parameters are specified, the behavior is the same as iif(isNull(value1), value2, value3) and the third parameter is returned if the first value is not null.
324324
* ``iifNull(10, 20) -> 10``
325325
* ``iifNull(null, 20, 40) -> 20``
326-
* ``iifNull('bojjus', 'bo', 'dumbo') -> 'dumbo'``
326+
* ``iifNull('azure', 'data', 'factory') -> 'factory'``
327+
* ``iifNull(null, 'data', 'factory') -> 'data'``
327328
___
328329
### <code>in</code>
329330
<code><b>in(<i>&lt;array of items&gt;</i> : array, <i>&lt;item to find&gt;</i> : any) => boolean</b></code><br/><br/>

0 commit comments

Comments
 (0)