Solved

Crystal report comparing two Running total fields?

Posted on 2014-10-13
2
626 Views
Last Modified: 2014-10-14
Hi Experts, Please help me creating my report
i do have two total running fields which a summary of sum formula:
problem is how can i show wich of the two has higher value?

exaample

RUNNINGTOTAL1            RUNNINGTOTAL2
             2                                        3

i must show in report RUNNINGTOTAL2 since it has higher value:

tried using this formula but didnt work it shows only blank section:
IF RUNNINGTOTAL1 > RUNNINGTOTAL2 THEN
                 RUNNINGTOTAL1  ELSE
RUNNINGTOTAL2

please help guys



-karlo
0
Comment
Question by:karlo mark medina
2 Comments
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 250 total points
Comment Utility
What didn't work?

Are any of the values NULL?


If you put the running totals in that section what values do you see?

mlmcc
0
 
LVL 34

Accepted Solution

by:
James0628 earned 250 total points
Comment Utility
Basically, what mlmcc said.  :-)  What you tried to do _seems_ OK, and a blank result does suggest that nulls might be the problem.

 FWIW, a simpler way to do what you described would be something like
Maximum ( [ {#rtotal1}, {#rtotal2} ] )

 But what you described should work too, so I would try to figure out why that isn't working first.

 James
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Problem Statement In an SAP BI BO Integration project when a BO universe is built on a BEx query, there can be an issue of unit & formatted value objects not getting generated in a BO universe for some key figures. This results in an issue whereb…
I recently went through setting up a JasperReports Server using the AWS EC2 instance, and this article will cover some basic administration tasks I had to perform.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

14 Experts available now in Live!

Get 1:1 Help Now