Forum Post: #CALC_SUM not recognized in gauge formula

  • Thread starter Thread starter wytkat28
  • Start date Start date
Status
Not open for further replies.
W

wytkat28

Guest
I built a gauge on the Opportunity object. I'm clearly missing something as this simple formula is erring... var total_user = #CALC_SUM ( Contract_Users__c | StageName == "Closed - Won"); return total_user; Error illegal character (line #2) in formula: function wrapper() { var total_user = #CALC_SUM ( Contract_Users__c | StageName == "Closed - Won"); return total_user; } wrapper(); Contract_Users__c is an integer field. When I try to add the Object's integration name to change formula to #CALC_SUM.opportunity (... I receive the error... Cannot find relationship opportunity According to Chapter 6 of documentation, You can also run Group Functions on the entire set of an Object’s records. For that use the Object’s integration name instead of a specific Relationship name, such as: #CALC_SUM.invoice( amount | true ) So this should work, right? What am I missing?

Continue reading...
 
Status
Not open for further replies.
Back
Top