Begin Column
FieldName = "ProfitMargin"
DrillDownFieldName = ""
DrillDownReportName = ""
Title = "ProfitMargin"
VBDataType = vbLong
Formula = "((TransactionEntry.Price - TransactionEntry.Cost) * TransactionEntry.Quantity)/(TransactionEntry.Price
* TransactionEntry.Quantity)" CASE WHEN ProfitMargin IS NULL THEN 0
ColHidden = False
ColNotDisplayable = False
FilterDisabled = False
ColWidth = 1920
GroupMethod = groupmethodNone
ColFormat = ""
End Column
I have added "CASE WHEN ProfitMargin IS NULL THEN 0" but I still get "Divide by zero error encountered" message. Can anyone help me with this?
*This post is locked for comments
I have the same question (0)