Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Grouping on column with non-uniform intervals
Grouping on column with non-uniform intervals [message #538589] Tue, 08 June 2010 07:17 Go to next message
prodigy201  is currently offline prodigy201 Friend
Messages: 10
Registered: March 2010
Junior Member
Hi,

I'm done with grouping on column using interval. For e.g-
0-99
100-199
200-299 ......and so on.
which has interval of 100 uniformly.

But if I want to do grouping on only one and same column with non-uniform intervals like -
1-100 (interval 100)
101-300 (interval 200)
301-600 (interval 300)

How it can be achieved?

Highly appreciate your help.

Thanks,
prodigy201

[Updated on: Tue, 08 June 2010 07:17]

Report message to a moderator

Re: Grouping on column with non-uniform intervals [message #538655 is a reply to message #538589] Tue, 08 June 2010 10:59 Go to previous message
Richard A. Polunsky is currently offline Richard A. PolunskyFriend
Messages: 212
Registered: July 2009
Location: Houston TX
Senior Member

Define a computed column
if (x < 101) { 1 };
if (x > 100 && x < 301) { 2 };
if (x > 300 && x < 601) { 3 };

Then group on that column.

Note that my syntax is probably out of whack; I can never remember until I'm in the editor whether java or navascript syntax applies, but you should get the general idea.
Previous Topic:Use table as source of data for pie chart
Next Topic:How do I add space after a table group?
Goto Forum:
  


Current Time: Fri Apr 26 08:12:59 GMT 2024

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

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

Back to the top