{"action":"opened","issue":{"url":"https://api.github.com/repos/DataBrewery/cubes/issues/355","repository_url":"https://api.github.com/repos/DataBrewery/cubes","labels_url":"https://api.github.com/repos/DataBrewery/cubes/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/DataBrewery/cubes/issues/355/comments","events_url":"https://api.github.com/repos/DataBrewery/cubes/issues/355/events","html_url":"https://github.com/DataBrewery/cubes/issues/355","id":158287226,"number":355,"title":"Slicer ignores \"expression\" string","user":{"login":"Grigory75","id":19218392,"avatar_url":"https://avatars.githubusercontent.com/u/19218392?v=3","gravatar_id":"","url":"https://api.github.com/users/Grigory75","html_url":"https://github.com/Grigory75","followers_url":"https://api.github.com/users/Grigory75/followers","following_url":"https://api.github.com/users/Grigory75/following{/other_user}","gists_url":"https://api.github.com/users/Grigory75/gists{/gist_id}","starred_url":"https://api.github.com/users/Grigory75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grigory75/subscriptions","organizations_url":"https://api.github.com/users/Grigory75/orgs","repos_url":"https://api.github.com/users/Grigory75/repos","events_url":"https://api.github.com/users/Grigory75/events{/privacy}","received_events_url":"https://api.github.com/users/Grigory75/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-03T04:06:41Z","updated_at":"2016-06-03T04:06:41Z","closed_at":null,"body":"After #351 workaround I managed to install and run master version. When using \"expression\" feature I get unexpected situation: additionally to basic measure (\"Milliseconds\") I included to Model.json simple expression measure (seconds = \"Milliseconds/1000\"). When running slicer ignores expression string.\r\n\r\nModel.json is here http://pastebin.com/Dv3C64P3 \r\n\r\nDebug output:\r\n\r\n2016-06-02 20:54:21,531 DEBUG SQL(aggregation summary):\r\nSELECT sum(\"Track\".\"Milliseconds\") AS duration_sec, coalesce(sum(\"Track\".\"Milliseconds\"), ?) AS duration_msec, count(\"Track\".\"TrackId\") AS record_count \r\nFROM \"Track\"\r\n\r\n"}}
{"actor":{"display_login":"Grigory75"}}