Anomaly detection refers to the problem of finding patterns in data that do not conform to expected behavior. In the domain of supply chain management (SCM), anomaly detection is a key factor in making better forecast decisions. An important problem in SCM is to reduce decision cycle times, despite the huge amount of data being generated at every stage. This overload of data may result in difficulty discerning useful signals, leading to confusion between meaningful and meaningless decisions. By implementing anomaly detection, questionable data is quickly analyzed to determine anomalies or unexpected patterns, making effective decisions easier and thereby also contributing to accurate forecasts.
Today, consultants write business rules to prevent bad data from sneaking into planning. This is more often than not done after having experiencing an issue in production. With Anomaly detection, we have automated some of these business rules and also apply newer Machine Learning algorithms to better detect data anomalies. Anomaly detections also prescribes and suggests corrections, with freedom given to the user to accept, reject, or modify the suggested values.
To access Diagnostics, go to the Home ribbon and click the New Items dropdown menu. Click the Diagnostic document to launch the DataSource Selection popup window.

From the SelectSource dropdown you can select Data Sources or System Model to begin putting together the data for your diagnostic report. For this example we have selected System Model.

Selecting System Model will populate the data tables that we can then select for the Diagnostic report. Check the data tables checkboxes you wish to include in the diagnostic and click OK.

After selecting the data source and data tables and clicking OK, the Diagnostic window will launch. The Diagnostic layout has four sections: Diagnostic ribbon, and the Rules, Anomaly Summary, and Anomaly Severity boxes.

First click the Add Rule button to create rules for the diagnostic to be able to find any anomalies in your selected data. Clicking Add Rule will launch the Edit Rule window.

Define the Rule Name, Entity Table, Diagnostic Field, Diagnostic Data Type, Reference Fields, and check whether or not to Enable the Rule.

Next go to the Anomaly Options tab of the same Edit Rule window. Check the checkboxes of any type of default anomaly for the diagnostic to check against. Click Update to close the window.

When finished creating rules for the diagnostic report, save the diagnostic and click Run Diagnostic from the Diagnostic ribbon.

If you haven't saved the diagnostic and click Run Diagnostic, you will be prompted to save any unsaved changes made to the diagnostic first.

After the diagnostic has run, the Anomaly Summary and Anomaly Severity sections will be populated with appropriate anomaly information.

The Anomaly Summary section at a glance the Average score and Total Anomalies Found after the diagnostic has been run against your selected data tables. Anomaly Summary also shows colored boxes with the type of severity and the number of anomalies found in that severity level.

Clicking a severity box will highlight and drilldown that specific information in the Anomaly Severity section.

Select a type of scan for the anomaly detection.
Basic scan: an initial scan to check data integrity.
Time Series scan
Category scan
Custom Scan