add_anomaly_detection
Enable anomaly detection on line charts in Power BI reports. Set sensitivity and explain-by fields to customize anomaly explanations.
Instructions
Add ANOMALY DETECTION to a line chart (the anomalyDetection object). sensitivity 0-100 optional (higher = more anomalies). explainBy = comma-separated fields the explanation groups by. Verify the render in Desktop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | page name or displayName | |
| visual | Yes | line-chart visual name | |
| explainBy | No | comma-separated explain-by fields | |
| sensitivity | No | 0-100 sensitivity | |
| reportSessionId | Yes |