Skip to main content



      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 05:46 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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: Mon Jul 07 06:33:38 EDT 2025

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

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

Back to the top