<p>one of the most frequent requests I get is to create XY report for YZ App. These apps are normally built on PHP, so far I have manually created most of this reports, and while I enjoy the freedom of building it as I want, it usually becomes pretty tedious to calculate subtotals, averages, exporting to different formats etc.</p>

<p>What solutions are out there (free/OSS preferred) that help me get this repetitive tasks cranking?</p>

<p>edits: </p>

<ul>
<li>I'm talking about reports/summaries from SQL data. Many times from DBs not designed for reporting use.</li>
<li>while I'm aware of "business-intelligence" we're not ready to implement a full scaled "intelligence" structure, looking more for a helper of sorts...</li>
</ul>

[{'answer_id': 66400, 'author': 'Galen', 'author_id': 7894, 'author_profile': 'https://Stackoverflow.com/users/7894', 'pm_score': 0, 'selected': False, 'text': "<p>It depends on what kind of reports you're talking about. For example... site stats... you could install google analytics and the client could export whatever format they wanted.</p>\n"}, {'answer_id': 66548, 'author': 'Gustavo Carreno', 'author_id': 8167, 'author_profile': 'https://Stackoverflow.com/users/8167', 'pm_score': 0, 'selected': False, 'text': '<p>A little Google search gave me the following OSS:</p>\n\n<blockquote>\n  <p>RLib</p>\n  \n  <blockquote>\n    <p><a href="http://rlib.sicompos.com/" rel="nofollow noreferrer">http://rlib.sicompos.com/</a></p>\n  </blockquote>\n  \n  <p>PM Report</p>\n  \n  <blockquote>\n    <p><a href="http://www.hotscripts.com/Detailed/48187.html" rel="nofollow noreferrer">http://www.hotscripts.com/Detailed/48187.html</a></p>\n  </blockquote>\n</blockquote>\n\n<p><br /></p>\n\n<p>I don\'t have any information on them, sorry.</p>\n'}, {'answer_id': 77406, 'author': 'warp', 'author_id': 7700, 'author_profile': 'https://Stackoverflow.com/users/7700', 'pm_score': 2, 'selected': True, 'text': '<p>The problem you\'re facing is solved by so-called Business Intelligence software.  This software tends to be bloated and expensive, but if you know your way around them you will be able to crank out such reports in no time at all.  </p>\n\n<p>I\'m only familiar with one particular proprietary solution, which isn\'t too great either.  But a quick search turns up the following page, which lists a number of free/open source alternatives:  </p>\n\n<p><a href="http://en.wikipedia.org/wiki/Business_intelligence_tools" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/Business_intelligence_tools</a></p>\n'}]
['https://Stackoverflow.com/questions/65976', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/9114/']