{"action":"closed","issue":{"url":"https://api.github.com/repos/otykier/TabularEditor/issues/159","repository_url":"https://api.github.com/repos/otykier/TabularEditor","labels_url":"https://api.github.com/repos/otykier/TabularEditor/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/otykier/TabularEditor/issues/159/comments","events_url":"https://api.github.com/repos/otykier/TabularEditor/issues/159/events","html_url":"https://github.com/otykier/TabularEditor/issues/159","id":322604675,"number":159,"title":"Scripting detailRowsDefiniton","user":{"login":"bobduffyie","id":19823837,"avatar_url":"https://avatars2.githubusercontent.com/u/19823837?v=4","gravatar_id":"","url":"https://api.github.com/users/bobduffyie","html_url":"https://github.com/bobduffyie","followers_url":"https://api.github.com/users/bobduffyie/followers","following_url":"https://api.github.com/users/bobduffyie/following{/other_user}","gists_url":"https://api.github.com/users/bobduffyie/gists{/gist_id}","starred_url":"https://api.github.com/users/bobduffyie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobduffyie/subscriptions","organizations_url":"https://api.github.com/users/bobduffyie/orgs","repos_url":"https://api.github.com/users/bobduffyie/repos","events_url":"https://api.github.com/users/bobduffyie/events{/privacy}","received_events_url":"https://api.github.com/users/bobduffyie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-13T15:45:17Z","updated_at":"2018-05-13T19:04:37Z","closed_at":"2018-05-13T19:04:37Z","author_association":"NONE","body":"Hi,\r\n\r\nI am wondering if the Advanced Scripting can support the adding of the Detail Rows Expression in SQL 2017?\r\n\r\nI have tried a few flavours of code, but cant; seem to get the detailRowDefinition as its not a simple attribute (maybe an object). Example script is below:\r\n\r\nvar m =Model.Tables[\"Store End of Day\"].Measures[\"SvP Fails\"] ;\r\nm.DetailRowsDefinition.Expression =\"\";\r\n\r\nThx for the awesome tool BTW. I have got over 1,000 measures generated with the Advanced Scripting and it works so well ;-)\r\n\r\nBest Regards,\r\nBob"}}
{"actor":{"display_login":"otykier"}}