Value Range Validation
A Value Range Validation is used to verify that the values in a data set fall within a specified valid range. It ensures that data values are not outside a defined minimum (start range) or maximum (end range) threshold.
Rule configuration
The Rules Configuration for a Value Range Validation are based on whether the data falls within the defined start and end range. The data is considered valid if it is greater than or equal to the start range (minimum) and less than or equal to the end range (maximum). Any value outside this range, either below the start range or above the end range, is deemed invalid.
- Start range The minimum valid value that data can have. Any value below this threshold is considered invalid.
- End range The maximum valid value that data can have. Any value above this threshold is considered invalid.
Success criteria
The success criterion for Value Range Validation rule is met when the input value falls within the predefined valid range.
- The success condition depends on how the
Start range
andEnd range
are configured. - The success condition is met if this count satisfies the given
operator
andvalue
. - For example, If
Start-range
is set to10
and End Range is set to50
any number in column between 10 and 50 are considered invalid.
Configuration fields
-
Operator options
Greater than
Less than
Equal to
Between
(requires specifying a start and end range) -
Operator Defines the comparison operation (Greater Than, Less Than, Equal To, or Between).
-
Value The threshold value used for success criteria. Required for
Greater than
,Less than
, andEqual to
operators. -
Value range Required only when the
Between
operator is selected, specifying thestart
andend
range. -
Threshold type Indicates whether the
Value
orValue Range
to be considered as percentage or an absolute count. -
Allow null values Determines if null values are permitted.
-
Check for match Determines if data values align with predefined standards, formats, or reference values to ensure accuracy, consistency, and integrity
Sample Input
ID | Value | Date |
---|---|---|
1 | 8 | 2025-01-09 |
2 | 15 | 2024-10-29 |
3 | 25 | 2025-01-28 |
4 | 45 | 2025-01-23 |
5 | 55 | 2025- 02-06 |
6 | 65 | 2024-12-31 |
7 | 75 | 2025-02-03 |
Sample rule configuration
- Start Range Value = 10 Date = 2025-01-01
- End Range Value = 50 Date = 2025-02-04
Sample success criteria configuration
- Operator Greater than
- Value 3
- Threshold Type Absolute Count
- Allow Null Values True
- Check for Match False
Sample Output
Column Name | Rule Name | Success Count | Failure Count | Within Threshold |
---|---|---|---|---|
Value | Value Range Check | 3 | 4 | No |
Date | Date Range Check | 4 | 3 | Yes |