Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Operation between two row
Operation between two row [message #1695320] Wed, 13 May 2015 13:20 Go to next message
Massimilino Oreto is currently offline Massimilino OretoFriend
Messages: 6
Registered: February 2014
Junior Member
Hi people, i need help in a Birt operation.

I have a dataset with montly turnover divided by year.

For example i have

year Total Gen Feb Mar
2015 100 20 10 xxxxxx
2014 80 15 18 xxxxx

What i need is a new column that permit me to make the year difference. For example , a new column that have 20-15 end the value.

So a column that take the current row and make operation with other row.

Thank you for help
Re: Operation between two row [message #1695473 is a reply to message #1695320] Fri, 15 May 2015 04:12 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

So, you'd want:

year Total Gen Feb Mar
2015 100 20 10 xxxxxx
2014 80 15 18 xxxxxx
Diff 20 5 -8 xxxxxx

Or actually new columns?


Michael

Developer Evangelist, Silanis
Re: Operation between two row [message #1695480 is a reply to message #1695473] Fri, 15 May 2015 07:28 Go to previous messageGo to next message
Massimilino Oreto is currently offline Massimilino OretoFriend
Messages: 6
Registered: February 2014
Junior Member
No, i need on a new column on the same row.
Thanks for help
Re: Operation between two row [message #1695611 is a reply to message #1695480] Mon, 18 May 2015 05:54 Go to previous messageGo to next message
Stefan Seitz is currently offline Stefan SeitzFriend
Messages: 14
Registered: February 2015
Junior Member
You could add another column to your dataset which has the last year's values. From that you could calculate the difference
Re: Operation between two row [message #1695615 is a reply to message #1695611] Mon, 18 May 2015 07:15 Go to previous message
Massimilino Oreto is currently offline Massimilino OretoFriend
Messages: 6
Registered: February 2014
Junior Member
Yes, i have a dataset with this data but i hope that with the power of birth ther's another possibilities (lighter)

Thank you for reply
Previous Topic:Embedded report in plugin, where's the JavaScript function?
Next Topic:Can't set a font typeface for the Body of a report
Goto Forum:
  


Current Time: Fri Apr 19 20:11:30 GMT 2024

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

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

Back to the top