horizon2000
IS-IT--Management
Hello,
In the output bellow I need to suppress all the details based on the outcome of the running total (I think) located in GF4
GH1 XXXX
GH2 NonCash Items
GH3 MSUS_XXXX
GH4 Security ID
D TSM123 US 1.98
D TSM123 US 1.98
D TSM123 THEM 1.98
GF4 ????
Basically, 1.98 is a price.
I need to check if the price is the same for all the records in whole group G4.
There is couple of conditions:
1. I need to have at least one record from US and at least one record from THEM (if US or THEM does not exist I do not suppress)
2. If the price is 0 then I do not suppress any details in whole G4 group.
I tried to insert another group G5 to divide details into THEM and US, calculate both of them compare them and if they are the same then suppress all details from whole G4.
The problem I have is that I am using Running Total filed and it evaluates fields after each G5. If both G5s in one G4 are the same then it suppresses the second G5 and leaves the first G5 not suppressed.
Tried a number of ways (all of them revolve around running total and sum/average/std dev/variance ect) and do not see any solution for it.
Any help would be very appreciated.
Thanks,
Robert
In the output bellow I need to suppress all the details based on the outcome of the running total (I think) located in GF4
GH1 XXXX
GH2 NonCash Items
GH3 MSUS_XXXX
GH4 Security ID
D TSM123 US 1.98
D TSM123 US 1.98
D TSM123 THEM 1.98
GF4 ????
Basically, 1.98 is a price.
I need to check if the price is the same for all the records in whole group G4.
There is couple of conditions:
1. I need to have at least one record from US and at least one record from THEM (if US or THEM does not exist I do not suppress)
2. If the price is 0 then I do not suppress any details in whole G4 group.
I tried to insert another group G5 to divide details into THEM and US, calculate both of them compare them and if they are the same then suppress all details from whole G4.
The problem I have is that I am using Running Total filed and it evaluates fields after each G5. If both G5s in one G4 are the same then it suppresses the second G5 and leaves the first G5 not suppressed.
Tried a number of ways (all of them revolve around running total and sum/average/std dev/variance ect) and do not see any solution for it.
Any help would be very appreciated.
Thanks,
Robert