Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » changing crosstab row group header on creation
changing crosstab row group header on creation [message #1307588] Mon, 21 April 2014 17:12 Go to next message
Haider Ali is currently offline Haider AliFriend
Messages: 7
Registered: January 2014
Junior Member
I am creating a report in which i am showing all areas school activities during the month, i am using the crosstab to show this data e.g

----------------------------------area1----area2-----area3----area4
no of new student in lower group---7--------5---------4---------8
no of new student in upper group---5--------4---------6---------2

and i am using following query

select studentID,'no of new student in lower group' as grphead from tbl where classID <= 5
union
select studentID,'no of new student in upper group' as grphead from tbl where classID >= 5

is it possible that instead of returning 'no of new student in lower group' i return grplower and replace this header with 'no of new student in lower group' in crosstab during cross tab creation.


please not that - is used only for formatting

[Updated on: Wed, 23 April 2014 17:37]

Report message to a moderator

Re: changing crosstab row group header on creation [message #1375742 is a reply to message #1307588] Fri, 23 May 2014 05:39 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Maybe I'm misunderstanding, but it sounds like you could just write a simple expression in the header element's script or possibly even write mapping expressions in the property editor for the header element. Let me know.

Michael

Developer Evangelist, Silanis
Previous Topic:Delete column at run time
Next Topic:Problem with multiple y-axes
Goto Forum:
  


Current Time: Thu Apr 25 23:31:39 GMT 2024

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

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

Back to the top