The bug is reproducible on 6.2, but couldn't reproduce it on Foreman's latest development.
Found the relevant commit: https://github.com/theforeman/foreman/commit/fc789ec2c76c55d2fcf0a387bdf3e3886864fe8e It exists in Foreman 1.13
Connecting redmine issue http://projects.theforeman.org/issues/15570 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/15570 has been resolved.
*** Bug 1419132 has been marked as a duplicate of this bug. ***
Created attachment 1303616 [details] UI Trend Build: Satellite 6.2.11 snap1 No traceback or sql error, trends for hostgroup was shown as expected
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2466