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

jo.jasmine

Members
  • Posts

    16
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by jo.jasmine

  1. How many values/rows that your field have?

    for your example, this is what I do.

    I will drag the field/column thrice into detail band. for the first column, I use print when expression and write

    $V{REPORT_COUNT}==1

    which means that the first row is displayed. Similarly, I will do for the other two columns.

    If your field has more than 5 values then you need to consider for another choice.

     

    Let me know how it worked for you

     

  2. Try this.

    create 4 varaibles v1,v2,v3,v4 of integer data type

    v1 -> $F{Account1} == 0 ? 0:1

    v2 -> $F{Account2} == 0 ? 0:1

    v3 -> $F{Account3} == 0 ?  0:1

    v4-> $V{v1}+$V{v2}+$V{v3}

    create a new column label as NonZero Value Count(  - column header )and have the value as $V{v4} ( - detail band)

    Let me know if you face any issue

     

     

     

     

  3. Yes. subreport will surely.

    Let your report be Report1. Save as this Report1 as Report2 in the same location.

    Now think of your Report1 is your first subreport and Report2 is your second subreport.

    Finally create a main report which can consume the above subreports.  Place these subreports in 2 different groups.  Thus, you can see the same result coming twice in the sheet.

    There might be other solution without using subreports also.

     

     

     

     

     

     

     

     

  4. Hi Guys,

    Need help in the below issue.

     

    I've created 2 sub reports (each subreport output is 3 pages ).

     

    When I used the first sub report in the first group header of my main report, I got 3 pages jasper output as expected.

     

    However, when I used the second subreport in the second group header of my main report, jasper gives me 18 pages of output (the first 3 pages is the output for first subreport and all other pages are blank)

     

    Can you help me how to resolve this?

     

    Why jasper gives such output when I consumed the second subreport?

     

    Thank You

  5. Hi Guys,

    I ran a query against the database. I could see the results generated. However, when I use the same query in Jasper, it cannot read the fields. Suprisengly, jasper didn't throw any error as well.

    Why Jasper cannot the read the fields for a successful ran sql query?

    Thank You

×
×
  • Create New...