Filling percentage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mark
    Senior Member
    • Dec 2019
    • 144

    #1

    Filling percentage

    Hi, I wanted to ask if it is possible to somehow calculate how many fields are filled in on every record?
  • eymen-elkum
    Active Community Member
    • Nov 2014
    • 481

    #2
    Hi Mark,

    this is possible using the formula, just add a new field from float type and calculate it.

    HTML Code:
    $filledPrecentage = 0;
    
    
    ifThen(fieldName1, $filledPrecentage = $filledPrecentage + 30 );
    ifThen(fieldName2, $filledPrecentage = $filledPrecentage + 30 );
    ifThen(fieldName3, $filledPrecentage = $filledPrecentage + 40 );
    
    filledPrecentage = $filledPrecentage;
    EspoCRM Expert since 2015
    We build custom solutions & premium extensions
    Eblasoft Technology Solutions​

    Comment

Working...