Solved

Crystal Reports XI Cross Tab

Posted on 2014-02-06
5
339 Views
Last Modified: 2014-02-07
I need to have a difference (qty ordered - qty shipped) as the total in a crosstab report. The crosstab only will sum the numbers but I need the difference between the 2 to display.

Any Thoughts?
0
Comment
Question by:StinkyPete1
  • 2
  • 2
5 Comments
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 250 total points
ID: 39839446
You can create a formula as

{QtyOrdered} - {QtyShipped}

Use the formula in the cross tab

mlmcc
0
 

Author Comment

by:StinkyPete1
ID: 39839615
Unfortunately, I already tried that but it still sums the numbers. It is almost as if it ignores the "-" and just adds the numbers.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39839847
Can you upload the report?

mlmcc
0
 
LVL 34

Accepted Solution

by:
James0628 earned 250 total points
ID: 39841473
Any chance that QtyOrdered is positive and QtyShipped is negative, or vice versa?  That's the only way that I can think of for a summary on {QtyOrdered} - {QtyShipped} to give you a result that looks like the two values (ignoring the signs) added together.

 If they don't have opposite signs, then there must be something else going on.  If you could post the report, as mlmcc suggested, then maybe we can spot the problem.

 James
0
 

Author Comment

by:StinkyPete1
ID: 39841649
Thanks for your help. Turns out I had the wrong field suppressed and was viewing a different table's total.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Photo Albums in PowerPoint Photo Albums are a very useful tool in PowerPoint and allow you quickly add a large number of images. The images can be formatted in a variety of ways so that you are able to create a professional looking presentation v…
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now