Excel sheet exported from ssrs. Pivot table and sorting functionality not working in sheet - ssrs-2008

msoffice2007. when report is exported from ssrs to excel sheet. the functions PIVOT Table and SORTING are not working, it is showing some error like:
""The PovitTable field name is not valid. To create a PovitTable report, you musr use data that is organized with labeled columns. If you are chanfing the name of a pivot table field you must type a new name for the field."" for PIVOT Table.
and ""The operation requires the merged cells to be identically sized."" for sorting

This is because your report isn't perfectly aligned and it cause different cells in the table to get merged, what you should do is to look for the cells whom didn't got merged (in the excel sheet) , check their size in the report builder and change the other cells to that size.
additional tip, make sure that your data (table in this case) is aligned to the top left of the screen.

Related

Libreoffice base report's total

I've found a lot of info about how to add "total" row to report, but none of them worked as needed. As for the moment I have a report, made of query and additional query, calculating only totals.
the report shows the first query's values as a table. I have added new form, linked to second query, added formatted text box, showing the totals. I want the total field right under the last line in the table, so I added new row to report's table and added field there. When generated, the data from the first query overwrites that column (and messing the formatting). If I add it just right under the table (not inside it) - the field hasn't been shown (I presume it's area 've been overwritten by table - Doesn't matter is I anchor it as character or by paragraph).
If I add the field somewhere far under the table - that works, but it's very unhandy to have report's table and far under it - totals.
How can I put the field under the table? When I tried to put the table in another two-rows table (one is for first query, one is for totals) - Base crashes.

How to create Table in Crystal Report

Create Table in Crystal Report
I am newbie to Crystal Report, and i am using Crystal Report 2008. I want to know, do we have table object in Crystal Report.. so that i can draw a table with specific rows and columns, and drag and drop the items to each and every table cell as per the requirement.
The problem i am facing without using table object is that, i have to align each and every element either it is text field or database field from the field explorer, so that it looks like a table and it is too much time taking.
If it can be done in Higher versions of Crystal Reports, then please give details.
you have to draw tables mannually in CR, using the line and box items from the designer,
alignment is also available, you can use gridlines and alignment options of crystal reports, its not hard at all..
Goto Insert - Ole Object - Microsoft Office Excel
It will add a excel file in your report. By dragging vertical reduce the excel object to one row and and horizontally to your required no. of Columns.
That will create a table with one row and many columns and can grow automatically in Detail section.

Hide space between elements of a report

I have one report with various subreports. These subreports are within a table cell. When the subreport doesn't have any data available, I hide the components (tables, textbox, charts) in that subreport. However, this creates some blank space and I need to eliminate this space.
I already used the properties ConsumeContainerWhiteSpace and KeepTogether, but the blank space is still there.
Any suggestions to remove the blank space?
To hide or show an entire row based on another reports results will be difficult, if not impossible. You will need to get this data in your parent report somehow.
I would create a cut down version of your subreport's query that returns row count for every subreport, but within the parent report. Might look like this:
UserID RecordCount
Abby 3
Bob 0
Carl 1
If you are using SSRS 2008r2 you can then use a lookup function to set row visibility. For example the row visibility expression might be
=IIF(Lookup(Fields!UserID.Value,
Fields!UserID.Value,
Fields!RecordCount.Value,
"LookupDatasetName") > 0,
false,
true)
If an earlier version of SSRS, then join that dataset into the dataset for your table.

Displaying tables below each other in JasperReports

I have to create a report where several tables are diplayed below each other. Each table gets its data from a SubDataset and contains none, one or more rows.
For the first version of the report, I've simply ignored the possibility of a table having no rows and put all tables below each other, each with the height of 1 row. The idea was, that if there is more than one row, the table will grow in height, which seems to work fine. I've given the first table a fixed position and set all subsequent ones to float. In iReport it looks like this:
But when I create a report, only the first table is at the expected position. The rest is displayed too low and overlaps:
Any idea how to fix this? I can't use subreports, because the report is stored in a database so I can't reference other reports. Is there maybe another alternative to subreports or tables?
You have the "Position Type" property set to "Fix Relative to Top". Change it to "Float".
Try looking into using subreports. I do create table followed by another (datasource is XML).
create subreport using xPath
Use Data Source Expression property of the subreport to set the datasource for subreport
((net.sf.jasperreports.engine.data.JRXmlDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("/FUND_STATEMENT/FUNDS/FUND")

How do I hide the left-most column in an SSRS 2008 matrix?

I have a matrix in an SSRS 2008 report. The rows are grouped on the Time field, and the columns are grouped on the FieldName field. Pretty standard stuff, you can see the designer view of it below.
This works pretty well, except that in some instances I need to hide the "time" column (highlighted in the image).
I've tried setting the Hidden property, both on the column itself and the individual fields. This leaves a large empty area where the column would normally display. I've tried setting the hidden value for the time row group, but that hides the entire row of data.
Is there any way to hide this information with SSRS 2008?
I was able to find a work-around with a little experimentation. Here's what I did:
Added an adjacent column group to the FieldName column. This column was grouped on Time (the same as the row group).
Set the header of the new column group to always display the text "Time."
Right-clicked on the selection button for this new column and selected "Column Visibility..." from the list. Entered the hidden expression I wanted.
Deleted the original Time column, choosing to retain the associated group.