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

Need help with a Crosstab (columns are a field)


albert.gil

Recommended Posts

Hello all!

I'm having a problem when developing a crosstab. I have to make a crosstab. Rows should be the Test Sample ID (keyid1) from my sql query. Columns should the a column called “paramid” on the database. There are multiple paramid's. And the data on the table should be a column called “enteredtext” on the database. 

So, this is the result on my query:

database.jpg.abe0a5b6a9b0068721b7f227dd573b6b.jpg

And this is the crosstab I designed:

crosstab(1).jpg.2c1070bba8a6358926aed5f7ba6549b2.jpg

And this is the crosstab I'm getting on my report:

result(4).jpg.3efc830eaae3d53401f2a06c390e5bba.jpg

As you can see, instead of adding a new column for each "paramid" he gets from the sql query, he just draws a new table. I'd need my crosstab to add a new column for each paramid, in order to see all the data in just one crosstab.

Could anyone explain me how to achieve that?

 

Thanks in advance for your help, and sorry if my english isn't perfect! :)

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

To start with you want to remove the red lines and warning symbol that have appeared in the crosstab design. What is happening is that the $V{} elements you have do not fit in their container.

To do this you need to 

1. From your main report view, double click on the crosstab.This will then take you into the crosstab for editing.

2. From the Outline view, highlight the columns in the Column Groups and then extend them to be the same size as your $V{} elements. Or right-click on the $V{} elements and select Size To Container -> Fit Both

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...