Does JasperReports have distinctcount(col1,col2) option? - crystal-reports

We have crystal report already built with us. We need to understand and make crystal to JasperReports. We are using iReport 4.5.1 for designing reports.
I want to know that crystal provides distinctcount(col1,col2) fields , what is the similar option available for the JasperReports?
Please let me know if am not clear with my question

Related

SAP Crystal Reports: Is it possible to colour a whole group if a subtotal for the group = 0?

I am working on SAP Crystal Reports (standalone version).
See the picture for an explanation of what I want to achieve.
Anybody has an idea?
Thanks
Leon

Best way to create report and template in ReportServer Community

Currently in my work I started using ReportServer, I researched and apparently the way to create reports here is through other tools like JaspeReport, is this so?
I also have the need to generate a template (or background) that will change in this report, how is this done? Should I do it in JasperReport or ReportServer can do it?
JasperStudio by tibco is typically used to create a Jasper report. ReportServer is a BI server with which you can use different report formats (Jasper, Birt, Crystal) together in one server. At https://reportserver.net/en/documentation/ you will find a comprehensive documentation and at https://forum.reportserver.net/ a user forum for ReportServer questions.

JasperReport - different orientation(landscape and portrait) in same report

As asked by few other members, on similar line, I want to have landscape orientation for only one of my subreport. I am using iReport 5.6.0 and JasperReports 5.6.0.
I searched and almost all solutions suggest to have 2 separate reports and add/append them programmatically as mentioned here.
This solution is probably not ideal for me as I have 4 dynamic subreports(can produce variable number of pages at run time) and I want only third subreport to be landscaped. So, at run time it will be difficult to identify the point to append my landscaped report.
Questions that I have:
Is this native feature now introduced in any new version of iReport to support different orientation of subreport?
If no inbuilt support in iReport, how can I programatically add
subreport in between, if I don't know at which location/page the subreport will be added.
I tried to look for a solution in JasperSoft Studio as well, but not success.
Thanks in advance.
Starting with JasperReports v6.0 you may achieve what you want with a Report Book. It is basically a report bundle where each report can have a different orientation.
But since Jaspersoft Studio(with version 5.5.0) became the official design client for JasperReports, you will not find this feature in iReport. So starting with Jaspersoft Studio v6.0 you will be able to use it.

interactive jasper reports

I am using jasper reports in my project to generate html reports. But the generated reports are static. Now we want to add some interactive features in it, like simple sorting and searching of columns. This is preferably to be done the client side. How can this be achieved ? So far I have tried to embed jquery into the generated report with no luck. Does jasper report provide such kind of functionality?
Use parameters and re compile the report every time you want to filter the data.
With your meaning of the word "interactive", nope that is not possible. A report is only a report - a presentation medium that shows data in such manner that is required by the business rule. You can format data here. You can stylize it, add image and what not. A client side application is probably what you want.
Well, your exact requirement can be achieved if you publish the Jasper Reports on the Jasper Server. Once published, all your reports become interactive (For Charts, you must use the PRO charts and not the basic HTML charts but for tables, it works automatically.)
Once you publish it on the Jasper Server, the features that you get are:
Sort button with various types
Export the Report to many formats (PDF, XML, etc - more than 10).
Zoom IN and Zoom Out.
Bubble for your charts making them interactive, etc.
Yes, interactivity is possible in Jasper Reports, but the thing is that you need a Jasper Server Pro or Enterprise version for achieving this. If you are using a community version, it is impossible to create interactive reports. You can download the free trail pro version of jasper server for 60 days from this link https://www.jaspersoft.com/download
For much more details go through this link https://www.jaspersoft.com/community-commercial
Choose according to your requirement.

Indexing in a crystal report

Hi i am new to asp.net programing language. I want to have an index page in my crystal report can somebody provide me with an example how to create an index page in a crystal report.
I will really apreciate your help.
I feel you need a main page from where you want to navigate to other pages. If I am right, then you can crate groups in the crystal reports. Now from those group headers you can navigate to other parts(details) of the report.
I hope this helps.