{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10478","repository_url":"https://api.github.com/repos/dimagi/commcare-hq","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10478/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10478/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10478/events","html_url":"https://github.com/dimagi/commcare-hq/pull/10478","id":136192495,"number":10478,"title":"Report builder calculations","user":{"login":"calellowitz","id":6844721,"avatar_url":"https://avatars.githubusercontent.com/u/6844721?v=3","gravatar_id":"","url":"https://api.github.com/users/calellowitz","html_url":"https://github.com/calellowitz","followers_url":"https://api.github.com/users/calellowitz/followers","following_url":"https://api.github.com/users/calellowitz/following{/other_user}","gists_url":"https://api.github.com/users/calellowitz/gists{/gist_id}","starred_url":"https://api.github.com/users/calellowitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calellowitz/subscriptions","organizations_url":"https://api.github.com/users/calellowitz/orgs","repos_url":"https://api.github.com/users/calellowitz/repos","events_url":"https://api.github.com/users/calellowitz/events{/privacy}","received_events_url":"https://api.github.com/users/calellowitz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-24T21:33:15Z","updated_at":"2016-02-25T06:36:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/10478","html_url":"https://github.com/dimagi/commcare-hq/pull/10478","diff_url":"https://github.com/dimagi/commcare-hq/pull/10478.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/10478.patch"},"body":"@nickpell @NoahCarnahan \r\ncc: @emord @dimagi/product \r\nthis can be reviewed all at once\r\n\r\nThis PR adds support for simple aggregations (sum, average, count) in the report builder data table reports. \r\nScreenshots:\r\nSetup:\r\n<img width=\"1200\" alt=\"screen shot 2016-02-24 at 4 28 27 pm\" src=\"https://cloud.githubusercontent.com/assets/6844721/13301695/2ec4a734-db14-11e5-95ee-d31d92ed96a9.png\">\r\nAcross multiple users:\r\n<img width=\"1141\" alt=\"screen shot 2016-02-24 at 4 28 57 pm\" src=\"https://cloud.githubusercontent.com/assets/6844721/13301694/2ec495dc-db14-11e5-8de8-e29aed9ed076.png\">\r\nActual aggregation:\r\n<img width=\"1174\" alt=\"screen shot 2016-02-24 at 4 29 27 pm\" src=\"https://cloud.githubusercontent.com/assets/6844721/13301696/2ec50ee0-db14-11e5-924c-e2705a9ce932.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/188635613","html_url":"https://github.com/dimagi/commcare-hq/pull/10478#issuecomment-188635613","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10478","id":188635613,"user":{"login":"sheelio","id":3524390,"avatar_url":"https://avatars.githubusercontent.com/u/3524390?v=3","gravatar_id":"","url":"https://api.github.com/users/sheelio","html_url":"https://github.com/sheelio","followers_url":"https://api.github.com/users/sheelio/followers","following_url":"https://api.github.com/users/sheelio/following{/other_user}","gists_url":"https://api.github.com/users/sheelio/gists{/gist_id}","starred_url":"https://api.github.com/users/sheelio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheelio/subscriptions","organizations_url":"https://api.github.com/users/sheelio/orgs","repos_url":"https://api.github.com/users/sheelio/repos","events_url":"https://api.github.com/users/sheelio/events{/privacy}","received_events_url":"https://api.github.com/users/sheelio/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T06:36:28Z","updated_at":"2016-02-25T06:36:28Z","body":"@calellowitz \r\nDo we have any control over the number of decimal places if you're aggregating a decimal?  The 67.0000000 might be too much (ideally two decimal places?)"}}