Quantcast
Viewing all articles
Browse latest Browse all 2544

RE: If Statement in Query Builder

Yes, just create a calculated column (click the button with the sigma symbol to begin) and use a CASE statement.  Something like:

case when table_name.Billing_Code >= 2000 then ( table_name.amount * (-1) ) else table_name.amount end


Viewing all articles
Browse latest Browse all 2544

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>