Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Aggregation to find a "-1" in an array
Aggregation to find a "-1" in an array [message #968222] Fri, 02 November 2012 05:46 Go to next message
Tobi Trost is currently offline Tobi Trost
Messages: 2
Registered: October 2012
Junior Member
Hi,

i'm having a crosstable with 2 groups.
- Group1 Agg1? Agg2? Agg3?
-- Group2 0 -2 -1
-- -1 0 0

In group2 i have different numbers which can be 0, -1 or -2.
I need to aggregate those numbers in group1 and need to know, if there is a "-1" inside the numberlist.

In a simpler way, i have an array of numbers (0, -1, -2) and need a aggregation to find out, if there is a -1 in the array.
Is there a way to do this or is this impossible?

Thanks for your help.
Re: Aggregation to find a "-1" in an array [message #968357 is a reply to message #968222] Fri, 02 November 2012 07:58 Go to previous message
Tomas Greif is currently offline Tomas Greif
Messages: 53
Registered: September 2010
Member
Can you modify dataset? If yes, you can add one column with 0/1 flag (1 if value equals to -1 and 0 otherwise)
Previous Topic:JavaScript resource files
Next Topic:Print Option
Goto Forum:
  


Current Time: Wed Aug 20 10:49:30 EDT 2014

Powered by FUDForum. Page generated in 0.01442 seconds