SQL Reporting zero out negative numbers

I have a SQL report that has a table in it. Column C is Colum A - Column B which sometimes produces negative numbers. Is there an expression I can use to just have column C show a zero instead of negative numbers?

Column C current expression =Fields!User_Define_1.Value - Fields!Act_Labor_Units_TTD.Value
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patrick MatthewsCommented:
=IIF(Fields!User_Define_1.Value > Fields!Act_Labor_Units_TTD.Value, Fields!User_Define_1.Value - Fields!Act_Labor_Units_TTD.Value, 0)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
=IIF(Fields!User_Define_1.Value - Fields!Act_Labor_Units_TTD.Value >0, Fields!User_Define_1.Value - Fields!Act_Labor_Units_TTD.Value, 0  )
From memory, you can use IIF as follows:

Iif (Fields|User_Define_1.Value < Fields!Act_Labor_Units_TTD.Value, 0  , Fields!User_Define_1.Value - Fields!Act_Labor_Units_TTD.Value)
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Patrick MatthewsCommented:

I am puzzled.  I posted a syntactically and arithmetically identical suggestion in http:#a30119550, and posted that first, and yet you selected http:#a30119599 as the answer.

I would have been pleased with a split, but I do feel the current disposition is unfair.

bkpierceAuthor Commented:
You are correct my apologies, you should have received the points as your post was first, I must have accidentally over looked it. I am not sure how to undo and assign the points to you. I'm guessing a moderator would have to be contacted?
bkpierceAuthor Commented:
I have contacted a moderator and asked that they make the change.
Patrick MatthewsCommented:
Thanks :)  I really would be pleased with a split, as chances are pretty good that Tyug and I were typing simultaneously.
Most customers want to see the neg numbers (If we are talking about money) We use brackets around our anwers in our reports to show that it is neg.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.