Hi everyone. I am new to Dataverse and I am using a calculated column to show the remaining value left on an item. This is working correctly, and the code I am using is below:
cr3db_totalcost - (cr3db_monthlydepriciationamount * cr3db_monthsfromacquire)
The issue is the numbers will eventually go negative. I need it to stop at 0. I was trying to use an IF statement, but cannot figure out the correct syntax.
Something like If(NBV column >0,cr3db_totalcost - (cr3db_monthlydepriciationamount * cr3db_monthsfromacquire),0)
But I am 100% positive I am not approaching it correctly.
Thank you for any help!
Chris