FINDMISSING

FINDMISSING('Node 1', 'Node 2' [, Behavior])

In Filtering & data shaping

The FINDMISSING function compares two nodes and marks missing level combinations as 1 and existing ones as 0. Dependent on the Behavior input, the function finds missing level values in either or both of the nodes.

Use this function when you need to compare two nodes and identify which level combinations are missing in one or both.

Parameters

Node 1Node referenceRequired
First input node.
Node 2Node referenceRequired
Second input node.
BehaviorKeywordOptional
Indicates the leading node which is checked for missing values. Default: "FIRST".
  • "FIRST": The first node is checked for missing values. This is the default.
  • "SECOND": The second node is checked for missing values.
  • "BOTH": Checks the combined data of Node 1 and Node 2 for missing values.

Watch out

  • When Behavior is "BOTH", all inputs must have the same dimensionality.

Examples

Input node: 'Node A'

YearProductVolume
2025Alpha10
2025Blade5
2025Droplet7
2026Alpha12
2026Blade6
2026Droplet9

Input node: 'Node B'

ProductPrice
Alpha55
Blade65
Gamma80

Input node: 'Node C'

YearProductVolume
2025Alpha10
2025Gamma5

Checking the first node for missing level values (default)

This example checks Node A for product level values that exist in Node B but are missing in Node A. Droplet is not in Node B, so it is flagged with 1.

Formula: FINDMISSING('Node A', 'Node B')

Equivalent to: FINDMISSING('Node A', 'Node B', "FIRST")

YearProductFINDMISSING Result
2025Alpha0
2025Blade0
2025Droplet1
2026Alpha0
2026Blade0
2026Droplet1

Checking the second node for missing level values

This example checks Node B for product level values that exist in Node A but are missing in Node B. Gamma exists in Node B but not in Node A, so it is flagged with 1.

Formula: FINDMISSING('Node A', 'Node B', "SECOND")

ProductFINDMISSING Result
Alpha0
Blade0
Gamma1

Checking both nodes for missing combinations

With BOTH, the function returns the full cross product of both nodes and flags any combination that is missing from either node.

Formula: FINDMISSING('Node A', 'Node C', "BOTH")

YearProductFINDMISSING Result
2025Alpha0
2025Blade1
2025Droplet1
2025Gamma1
2026Alpha1
2026Blade1
2026Droplet1

See also

IS_NA
When you need to detect undefined values in a single node rather than comparing two nodes.
Was this page helpful?