- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Report formula not working
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-29-2011 07:59 AM
I have the following formula set up in my report and I keep getting an error that boolean is required and I cannot figure out where. Can anyone look at this and help me please?
if tonumber ({JC1_JobMaster.RevisedContract})= 0
then {JC1_JobMaster.OriginalContract}-{@jtd billed}
else {JC1_JobMaster.RevisedContract}-{@jtd billed} and {@Ramaining Dollars}> 0
Re: Report formula not working
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-29-2011 09:02 AM
This makes no sense:
{JC1_JobMaster.RevisedContract}-{@jtd billed} and {@Ramaining Dollars}> 0
Re: Report formula not working
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-29-2011 09:02 AM
Can you please tell me what is wrong with it?
Re: Report formula not working
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-29-2011 09:05 AM
kimg wrote:Can you please tell me what is wrong with it?
You're returning 2 values if
if tonumber ({JC1_JobMaster.RevisedContract})<> 0
Re: Report formula not working
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-29-2011 09:46 AM
I actually have two totals - one that includes my negative amounts and one that excludes the negative amounts. The formula I posted was used to create the total including my negative amount and the other wasthe same formula copied and I'm tryingto exclude anything less than zero - which is what the last line means. Do you know how to fix this?
Re: Report formula not working
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-29-2011 09:49 AM - last edited on 12-29-2011 09:50 AM
kimg wrote:I actually have two totals - one that includes my negative amounts and one that excludes the negative amounts. The formula I posted was used to create the total including my negative amount and the other wasthe same formula copied and I'm tryingto exclude anything less than zero - which is what the last line means. Do you know how to fix this?
if tonumber ({JC1_JobMaster.RevisedContract})= 0
then {JC1_JobMaster.OriginalContract}-{@jtd billed}
elseif tonumber ({JC1_JobMaster.RevisedContract})= 0 and {@Ramaining Dollars}> 0
then {JC1_JobMaster.RevisedContract}-{@jtd billed}
else 0


