Skip to main content
Priyanka Taunk (Reevoo) 님이 #Data Management에 질문했습니다
I'd like to make some changes to it so that it calculates the ACV only when the opportunity type is

 

 - New business

 

 - uplift

 

 - renewal

 

We have a custom 'opp type' field with a few picklist values however we want the ACV to be calculated only for the above 3 picklist values. I know this is something that could be filtered via reports but would like to include this filter in the formula field itself if possible.

 

Current formula field is

 

IF( ISBLANK( ACV_Override__c) || (ACV_Override__c == 0) , Monthly_Revenue__c * MIN( Contract_Length__c ,12), ACV_Override__c)

 

Any suggestions?
답변 1개
  1. 2014년 1월 22일 오후 3:26
    Okay,

     

    This should do it for you:

     

    IF(

     

    OR(TEXT(Opp_Type__c) = "New Business", TEXT(Opp_Type__c) = "Uplift", TEXT(Opp_Type__c) = "Renewal"),

     

    IF( ISBLANK( ACV_Override__c) || (ACV_Override__c == 0) , Monthly_Revenue__c * MIN( Contract_Length__c ,12), ACV_Override__c),null)

     

    Best of luck!