Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Aggregation to find a "-1" in an array
Aggregation to find a "-1" in an array [message #968222] Fri, 02 November 2012 09:46 Go to next message
Tobi Trost is currently offline Tobi TrostFriend
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 11:58 Go to previous message
Tomas Greif is currently offline Tomas GreifFriend
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: Fri Apr 26 08:21:05 GMT 2024

Powered by FUDForum. Page generated in 0.02986 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top