Forum Discussion

pmadam's avatar
pmadam
Helper II
5 years ago
Solved

Help division error

Hi All,   I am trying to divide two text columns for a particluar dimension. So i get error when the numerator or denominator has blank value. I went forward and added if clause as below but i stil...
  • Greg_Deckler's avatar
    Greg_Deckler
    5 years ago

    pmadam Maybe:

    XY =
    IF(
      ISBLANK([DSAM Amount]) && Not(ISBLANK(VALUE([Customer Target]))), 
      0 ,
      [Customer Target] / [DSAM Amount]
    )