afv-library/skills/data360-orchestrate/assets/definitions/calculated-insight.template.json

8 lines
335 B
JSON

{
"developerName": "Lifetime_Value",
"displayName": "Lifetime Value",
"description": "Example calculated insight over an order-style DMO",
"definitionType": "CALCULATED_METRIC",
"expression": "SELECT ssot__IndividualId__c, SUM(ssot__TotalAmount__c) AS total_spend FROM ssot__SalesOrder__dlm GROUP BY ssot__IndividualId__c"
}