0

Converting to a negative

I'm writing a sales report showing document type 3 and 4 which is Invoices and Returns. However, the returns come out as a positive number and I need to convert this to negative. I've tried the following formula but it doesn't work:

Formula((if([@[Document Type]]=4,[@[Unit Extended Price]]*-1,[@[Unit Extended Price]]))

What am I doing wrong?

Thanks
Alan

6 comments

Please sign in to leave a comment.