Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Minimum value conditional selection Post Reply Post New Topic
Author Message
siweltj
Newbie
Newbie


Joined: 13 Sep 2007
Location: United States
Online Status: Offline
Posts: 16
Quote siweltj Replybullet Topic: Minimum value conditional selection
    Posted: 16 Nov 2011 at 6:09am
I am looking for a formula to identify the minimum value of EvOrder where Activity=0.  In the example below the result would return 20833353.
 
This is a dynamic data set and order and contents will change.  THe result of this formula will be used in additional formulas.
 
Thank you
 
EvOrder Activity
1 4
20833353 0
23958339 1
37516362 0
42191591 1
43750013 7
46332971 5
47193953 0
48341956 0
48536767 1
48601729 1
50148381 0
50728458 1
50767064 0
50773725 0
55380246 0
56919850 1
57433028 1
57717670 1
57812540 5
68359376 6
99999999 3
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 16 Nov 2011 at 7:10am
use a Running total (or variable formula if you desire)
New RT
Name=Min_w_zero
field to summarize=EvOrder
summary type = minimum
evaluate = use a formula
{table.activity}=0
reset= never (assuming you are not grouping and need group level result)
place in report footer (or group footer) -RTs do not work in headers


Edited by DBlank - 16 Nov 2011 at 7:40am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.