Description
Merges the contents of two Blocks, by calling values from the first source Block into a target Block, then filling any blank values with non-blank values from the second.
Syntax
IFBLANK(Metric to Fill, Value)
Arguments
Argument | Type | Dimensions | Description |
---|---|---|---|
Metric to Fill (required) | Any | Any Dimensions | First source Block that contains some blank cells. |
Value (required) | Same Type as Metric to Fill | No Dimension or Dimensions of Metric to Fill | Number, formula or second source Block to fill the blanks with. |
Returns
Type | Dimensions |
---|---|
Same Type as Metric to Fill | Dimensions of Metric to Fill |
Examples
Formula | Result | Description |
---|---|---|
| Overwrites current column with values from the property | This is a convenient way to tidy up imports into Transaction Lists. |
| Nested | This merges three columns into one, respecting a hierarchy. |
| Returns a Metric full of | Filling the current Metric in this way is convenient but makes it high density, which can slow down performance. Coupling with |
| Returns a Metric full of | As above, convenient but if you encounter performance issues, combine with |
See more details on the above examples in the IFBLANK Use Cases article.
See also
Related articles: ISBLANK
More of a hands-on learner?
Talk to your Customer Success Manager about downloading the Functions and Modifiers in Pigment Application into your workspace. It includes examples of every formula and modifier in Pigment!