Description

Show different icons depending on a comparison of the contact’s household’s last two years of giving.

In Bundle

Images

Fields

FieldsValue
sObjectContact
FieldCompare_LY_TY__c
Activetrue
DescriptionCompares npo02__OppAmountThisYearHH__c, npo02__OppAmountLastYearHH__c
Empty Static Text BehaviorUse Icon Only
Show False or Blankfalse

Extensions

FieldsValue
Priority1
Indicator ItemContact_HH_Compare_LY_TY
Activetrue
Containst TextZero-Zero
Hover TextBoth Last and This Year Zero
Static Text💤
FieldsValue
Priority2
Indicator ItemContact_HH_Compare_LY_TY
Activetrue
Containst TextLYBUNT
Hover TextLast Year but not This Year
Static Text🔻
FieldsValue
Priority3
Indicator ItemContact_HH_Compare_LY_TY
Activetrue
Containst TextTYNLY
Hover TextThis Year but not Last Year
Static Text🐣
FieldsValue
Priority4
Indicator ItemContact_HH_Compare_LY_TY
Activetrue
Containst TextIncrease
Hover TextIncreased from Last Year
Static Text💹
FieldsValue
Priority5
Indicator ItemContact_HH_Compare_LY_TY
Activetrue
Containst TextDecrease
Hover TextDecreased from Last Year
Static Text📉
FieldsValue
Priority6
Indicator ItemContact_HH_Compare_LY_TY
Activetrue
Containst TextSame
Hover TextSame Last and This Year
Static Text

Preparation

Custom Formula Field

FieldValue
Field LabelCompare LY TY
Object NameContact
Field NameCompare_LY_TY
API NameCompare_LY_TY__c
DescriptionResults in one of six values, based on comparing Contact’s Household- Total Amount Last Year vs. Total Amount This Year. Resulting values can be (Zero-Zero, LYBUNT, TYNLY, Increase, Decrease, Same)

IF( npo02__OppAmountThisYearHH__c = 0, IF( npo02__OppAmountLastYearHH__c = 0, "Zero-Zero", "LYBUNT"), IF( npo02__OppAmountLastYearHH__c = 0, "TYNLY", IF ( npo02__OppAmountThisYearHH__c > npo02__OppAmountLastYearHH__c, "Increase", IF ( npo02__OppAmountThisYearHH__c < npo02__OppAmountLastYearHH__c, "Decrease", "Same" ) ) ))

Contributed By

Eileen K, programmer2coder


Back to top

For any help or comments, please ask a question on our Trailblazer Community group.