Forum Discussion
pmadam
Helper II
6 years agoHelp 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...
- 6 years ago
pmadam Maybe:
XY = IF( ISBLANK([DSAM Amount]) && Not(ISBLANK(VALUE([Customer Target]))), 0 , [Customer Target] / [DSAM Amount] )
Greg_Deckler
Community Champion
6 years agopmadam Use the DIVIDE function like this (get rid of the IF clause)
XY =DIVIDE([Customer Target],[DSAM Amount],0)
Third parameter is the one to return in case of divide by zero.