HQL report example

Maybe provide some more information about your use case. Or if you are looking for the custom report guide, maybe you check the document available in the portal.