Which IIQ version are you inquiring about?
8.4p2
Share all details about your problem, including any error messages you may have received.
We have written a custom report which utilizes a HQL Data Source, when the report is executed using the “Save and Preview” feature, the results produced match our expected report results, at least in terms of the count of records. When the very same report, with the very same filters is run with “Save And Execute” the number of results is significantly less than when run with Save and Preview. I’ve also run the HQL via the IQ console, and the list of results returned matches our expected results.
The query isn’t all the complex, below is the HQL provided in the report. Basically joining the IdentityEntitlements to ManagedAttributes and Classifications.
from IdentityEntitlement ie left join ManagedAttribute ma on ma.value = ie.value and ma.application.id = ie.application.id and ma.attribute = ie.name left join ObjectClassification oc on oc.ownerId = ma.id and oc.ownerType = ‘ManagedAttribute’ left join Classification cls on cls.id = oc.classification where ie.application.id in(‘0aa444168cf11b63818cf10cf185005f’)