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

vivekkohli

Members
  • Posts

    4
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Posts posted by vivekkohli

  1. Try this query, it may work

     

    SELECT
    (SELECT COUNT(id) FROM person pe JOIN program pr ON pe.id = pr.id AND pr.name = 'BA' AND pe.gender = 'MALE') A1,
    (SELECT COUNT(id) FROM person pe JOIN program pr ON pe.id = pr.id AND pr.name = 'BA' AND pe.gender = 'FEMALE') A2,
    (SELECT COUNT(id) FROM person pe JOIN program pr ON pe.id = pr.id AND pr.name = 'BA') A3,
    (SELECT COUNT(id) FROM person pe JOIN program pr ON pe.id = pr.id AND pr.name = 'BE' AND pe.gender = 'MALE') B1,
    (SELECT COUNT(id) FROM person pe JOIN program pr ON pe.id = pr.id AND pr.name = 'BE' AND pe.gender = 'FEMALE') B2,
    (SELECT COUNT(id) FROM person pe JOIN program pr ON pe.id = pr.id AND pr.name = 'BE') B3,
    (SELECT COUNT(id) FROM person pe JOIN program pr ON pe.id = pr.id AND pr.name NOT IN ('BA','BE') AND pe.gender = 'MALE') C1,
    (SELECT COUNT(id) FROM person pe JOIN program pr ON pe.id = pr.id AND pr.name NOT IN ('BA','BE') AND pe.gender = 'FEMALE') C2,
    (SELECT COUNT(id) FROM person pe JOIN program pr ON pe.id = pr.id AND pr.name NOT IN ('BA','BE')) C3

  2. Hi,

    I have a problem with page footer.

    I want a manually added group to behave as a page footer, as i want to print a lot of records.

    So I have added a new group as a requirement to print those records on a new page.

    But now i need to print a sub report on a new page which is a full A4 size report.

    If i put the sub report in the summary section then it will print only for the last record.

    But if i put the sub report in the groups which i made then the page footer is not allowing to generate the report.

    If i remove the page footer then it works fine.

    But I need the page footer.

    I also tried to put the footer into some other added group but then the footer data starts to appear at the end of the data that prints before it and not at the bottom of the page.

    So this is not the solution.

    I have exhausted all that I could try.

    I am asking for everyone's help.

    Thanks in advance

    Vivek

×
×
  • Create New...