Skip to main content
Solved

Changing ?ERROR to value 0

  • April 10, 2024
  • 3 replies
  • 78 views

Forum|alt.badge.img+3

Hello community,

I’m wondering if anyone has figured out how to change any values that come up as ?ERROR to a 0 value instead for field calculations within a report? Much appreciated! 

Best answer by Limori

Hi Kayla

I assume you were using a formula field that ended up showing you the ?ERROR?

In this case I suggest to use an IF statement in the formula, that addresses the scenario in which you would run a division by 0, e.g.:

If(IsEmptyOrZero($xyz),0,$abc/$xyz)

 

I hope that helps.

Limor

This topic has been closed for replies.

3 replies

Limori
Planview Falcons
Forum|alt.badge.img+4
  • Planview Falcons
  • Answer
  • April 14, 2024

Hi Kayla

I assume you were using a formula field that ended up showing you the ?ERROR?

In this case I suggest to use an IF statement in the formula, that addresses the scenario in which you would run a division by 0, e.g.:

If(IsEmptyOrZero($xyz),0,$abc/$xyz)

 

I hope that helps.

Limor


Forum|alt.badge.img+3
  • Author
  • Platinum Innovator
  • April 15, 2024

Hello, Limori. Thanks so much for your response. How you recommend I incorporate it into my existing formula: 

($CapacityOfUserDaily.LoadFor.LinkObject.ActualApprovedBillable/($CapacityOfUserDaily.Capacity*0.8))*100

 


Forum|alt.badge.img+3
  • Author
  • Platinum Innovator
  • April 17, 2024

Thanks Limori. That did the trick in my formula!