This explanation will be kind of long, but I'm hoping someone will be able to help.
I am trying to create a drill-down portlet. The parent portlet will be a pie chart showing projects divided by an attribute called last_reported_status. Clicking a slice of the pie will load a second portlet that will be a grid portlet of all the projects that have that particular last_reported_status. Last reported status is a lookup attribute with 3 possible values.
To create the portlets I followed the instructions in this presentation: Rego University: Advanced Portlets, CA PPM (CA Clarity PPM)
So far I have created the parent portlet and am trying to get it to work. The data provider is the following query:
FROM INV_INVESTMENTS inv
JOIN odf_ca_inv oci on inv.id = oci.id
JOIN odf_ca_project ocp on inv.id= ocp.id
The portlet configuration does not allow me to define the group by attribute. I believe this is because it is a query-based portlet. I have a similar portlet that is object based that does allow the user to define the group by attribute on the portlet. The chart is dividing the results by uuid instead of last reported status, which is obviously not what I want it to do. I can't figure out how to make the portlet group by last reported status. The query fails if I don't include all columns in the group by expression.