Jump to content
We've recently updated our Privacy Statement, available here ×

row headers for multiple measures in crosstab


marco12

Recommended Posts

Hi,

I want to design a report which shows e.g. measures a and b for horizontal dimension h1 and h2 and vertical dimension v1 and v2.

The input might be:

h1  h2  v1  v2  a  b
 101  201  301  401  1  "b1"
 101  202  301  401  2  "b2"
 101  202  302  402  3  "b3"

 The output should be:

       101
       201  202
 301  401  a  1  2
     b  b1  b2
 302  402  a    3
     b    b3

If I just create 2 row, 2 columns, and 2 measures there is no title/label/header for my measures ("a", "b").

If I create an additional row for measures and just 1 measure, I have the problem that the measures are of different types.

If I create an additional row for measures and still 2 measures I would get a lot of empty lines??? BTW how do I return EmptyValue from my custom DataSource?

 

I am lost. Please tell me the right approach.

 

Brgds,

Marco

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

 I produce my design programmatically with DynamicJasper. In DJ is no option to add an additional text field to the header of a crosstab row, there is just one String parameter for the row header. Is it really possible to add another text column to the header of a row. Or do you mean to concatenate the names of my measures to the values of the row dimensions?

In the second case I have the problem that I do not really want to print dimension values in the lines but print it as group titles:

   101
   201  202

301

   
401
   
 a  1  2
 b  b1  b2

302

   
402
   
 a    3
 b    b3
 

Thx,

Marco

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...