Pentaho RD version : 5.2.0.0-209
Requirement Show / Hide Fields in Pentaho Report Based on User Input
I have a requirement that invisible elements on the report should not consume any space in row or column.
so i use the banding element and the functionality formula to 'invisible consumes space'
I have used two bands one within another, with different layouts 'row' and 'block' to remove both spaces for invisible elements (in rows and columns).
Note It is giving appropriate result and working fine in Pentaho Report Desinger tool itself while updating Query to fetch any field either col1,col2 etc...
But Integration that .prpt report in Grails, it stil shows the "Invisible Consumes Space" in row and column both.
Please help me to remove both spaces for invisible elements (in rows and columns) while integrating the Report to Grails or any web application
Related
I am working on web based application using Visual Studio 2019 Preview with SAP Crystal Reports 2016 Support Pack 7.
The report consists of 20 columns in single row. There is a requirement to show two fix headings in details section.
Report Design:
What I want is to set the first heading in first row then list records from database then set other heading and print rest of the records by merging the fields and lines of first and second heading in details sections (similar to excel “Merge Cells Function”). Heading value is set in first column but since the width of first column is too short it is not visible and looks ugly.
Current Output:
Desired Output:
The number of records between first and second heading are not fixed and fetch from database.
In addition, since there are too many columns in single row not all columns are visible in printing. Could anyone advice how to fix them while printing?
Thanks
Group the report based on the logic of how you wish to separate the 2 groups of records.
Then, use a Group Header section to present the information you need at the top of each group.
note: if you are not familiar with Crystal, you Group by using
Insert, Group
or Report, Group Expert
Show / Hide Fields in Pentaho Report Based on User Input.
Version : Pentaho RD version : 5.2.0.0-209
Efforts :
I have used the banding element and the functionality formula to 'invisible consumes space'
I have used two bands one within another, with different layouts 'block' and 'row' to remove both spaces for invisible elements (in rows and columns).
Result :
It is giving appropriate result and working fine in Pentaho Report Desinger tool itself while updating Query to fetch any field either col1,col2 etc...
- It removes the hiding empty column space from row and column both. Agreed with that.
*Problem :
It still shows the blank Invisible Consumes column Space when doing that .prpt report integration in web application. eg. Grails
Please help me to come out from the problem.
Thanks.
I need create a crystal report to report the column across not down. The report itself is very simple, there is no need to group and summarize. The only thing is different from regular report is it need display the column across rather than down. I try use cross-tab, or multiple columns with no success. is there any way i can make is down in crystal? Thanks
The regular report with column down:
I need display like these:
try the following
put the the 4th names of the first column in the page header and make that section underlay the following section, then create 4 details sections, one per column and put the values values right next below and make the details to grow across then down.
for instance
page header
Mth
Vendor
Trans#
Amt
end of page header
details1 date field
details2 vendor field
details3 trans field
details4 amt field
I have a shipping label that needs to print on a Dymo Label printer with slightly different data on each of 3 pages. Can this be done with just one .rpt so the users only need to print one report, rather than three?
It's been a while since I've used Crystal Reports, but you can setup your .RPT to have three detail sections (A/B/C) and have B and C "print new page before". That way each detail will be on three separate sections.
You shouldn't need to do anything crazy with custom formulas. All you need to do is display each piece of data three times, one on each page, with each page being slightly different.
(Of course you could use a header and just put the changing data in the details section... but that will take more time to get right then just repeating the required data in each data section.)
Confirmed
Open your report
Right-Click on the Details secton
Select "Insert Section Below"
Repeat steps 2 & 3 twice
Confirm that you see three Detail Sections
Use "Section Expert" (or Visual Studio Properties) for sections A & B and select "New Page After". (If using Section Expert, be sure you are on the Paging tab.)
Create the desired content in each Detail Section.
You probably want to Suppress all other sections, including Report/Page Headers & Footers.
.RPT Detail Section Setup
Section Expert
You have two basic methods.
You can use groups and use the option to start a new page for the group when it changes. The other option is to use subreports, but I would avoid this option. If you want me to elaborate, please let me know.
If you can get your data to repeat three times, so each 'record' for your report is duplicated you could do something with multiple details sections (from the section expert create three details sections)
And then use the 'Supress (No Drill-Down)' with a formula to show each version of the label in turn, depending on the record number.
For each details section add the formula (using Basic Syntax)
formula = (Remainder(RecordNumber,3) <> 1)
formula = (Remainder(RecordNumber,3) <> 2)
formula = (Remainder(RecordNumber,3) <> 0)
Then create each slightly different label on each of the thee details sections.
I managed to get the three data rows by doing a cross join like so (in SQL Server) assuming a table with the data called ReportData
;with cte as
(
select 1 as ver
union
select 2 as ver
union
select 3 as ver
)
select * from
cte cross join ReportData
order by OrderNumber, ver;
I've been looking around for quite some time, and I'm not entirely sure how to accomplish this in Sharepoint 2007.
I'm trying to create a web part view that takes the entries of a particular data source, groups the entries by the user, and then sums up a calculated column from said source.
I've found similar tutorials online about creating the web part views and making calculated columns; however, I can't figure out how to sum up the columns for each user listed.
Any ideas?
If you are using a List View Web Part, modify your view by selecting "Modify this view" in the view-picker (drop down list at the top right of the web part).
On the view settings page, expand the Group By section and specify which column(s) you will group by. Expand the Totals section and select which aggregations you want to perform on which columns.
Click OK.
The results are overall totals at the top of the column, and group totals above each group.