Validity Rules
Validity Rules
In this series of detailed workshops we're going to:
Understand the business value and ROI of implementing business rules
Master the 7 Data Quality Dimensions in PDC
Create and configure business rules with detailed step-by-step guidance
Implement rule actions (Status, Tags, Webhooks) and understand their purpose
Organize rules using rule groups for operational efficiency
Monitor and interpret rule execution results for continuous improvement
x
Accessing your Catalog
To get started using the Data Catalog, log in using the address and credentials provided by your Data Catalog service user or administrator.
To access your catalog, please follow these steps:
Open Google Chrome web browser.
Navigate to:
Enter following email and password, then click Sign In.
Username: [email protected] (mapped to Business Steward role)
Password: Welcome123!
x
x
Business Rule Configuration:
Rule Name: Order_Date_Validity
Description: Validates logical date relationships in orders
Data Quality Dimension: Validity
Schedule: Daily
Target: Sales.SalesOrderHeaderSQL Query:
SELECT
COUNT(*) AS total_count,
SUM(CASE
WHEN OrderDate <= GETDATE()
AND (ShipDate IS NULL OR ShipDate >= OrderDate)
AND (DueDate >= OrderDate)
THEN 1 ELSE 0
END) AS scopeCount,
SUM(CASE
WHEN OrderDate > GETDATE()
OR (ShipDate IS NOT NULL AND ShipDate < OrderDate)
OR (DueDate < OrderDate)
THEN 1 ELSE 0
END) AS nonCompliant
FROM Sales.SalesOrderHeaderx
x
x
x
x
Last updated
Was this helpful?
