I am having a problem with the following formula:
if {@Sales tax}>0 then formula={STP_ProjectView.AmountBilled}-{@Sales tax} else formula={STP_ProjectView.AmountBilled}
The formuala is supposed to give me the price of a job less the sales tax if sales tax is part of the sales price.
The problem is the table that contains the sales tax does not contain all job numbers so when it looks for @Sales tax it finds nothing for those jobs so they are not included in my report. I need to know how to write the formula where it disregards the fact that the table has no value for sales tax for a job but still gives me a value. Hopefully this gives everyone enough information.
if {@Sales tax}>0 then formula={STP_ProjectView.AmountBilled}-{@Sales tax} else formula={STP_ProjectView.AmountBilled}
The formuala is supposed to give me the price of a job less the sales tax if sales tax is part of the sales price.
The problem is the table that contains the sales tax does not contain all job numbers so when it looks for @Sales tax it finds nothing for those jobs so they are not included in my report. I need to know how to write the formula where it disregards the fact that the table has no value for sales tax for a job but still gives me a value. Hopefully this gives everyone enough information.