Forum Discussion

Fools_Gold's avatar
Fools_Gold
Helper I
1 year ago

Formula Help

Hello Everyone,

I am trying to write a formula where it adds only the negative in QTY Gap (and replaces the positive with zero) and a formula where it adds only the positive in QTY Gap (replacing the negative with zero) and I cannot seem to figure it out.

I already tried the new visual calculations:

Negative QTY = IF(QTY GAP<0,QTY GAP,0)

Positive QTY = IF(QTY GAP>0,QTY GAP,0)

But the total for the new visual calculations are not summing.

I have also tried column calculations as well.

QTY GAP Formula = ('Custom Report 6'[SalessHistory QTY] + 'Custom Report 6'[Open Order QTY]) - 'Custom Report 6'[Forecast QTY]

 

 

Thank you for your help.

 

 

Fools_Gold

 

4 Replies