{"action":"created","issue":{"url":"https://api.github.com/repos/sql-bi/DaxDateTemplate/issues/5","repository_url":"https://api.github.com/repos/sql-bi/DaxDateTemplate","labels_url":"https://api.github.com/repos/sql-bi/DaxDateTemplate/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/sql-bi/DaxDateTemplate/issues/5/comments","events_url":"https://api.github.com/repos/sql-bi/DaxDateTemplate/issues/5/events","html_url":"https://github.com/sql-bi/DaxDateTemplate/issues/5","id":298640135,"number":5,"title":"Duplicate of Anzac Day /Australia day in 2011","user":{"login":"BVMather","id":16154793,"avatar_url":"https://avatars1.githubusercontent.com/u/16154793?v=4","gravatar_id":"","url":"https://api.github.com/users/BVMather","html_url":"https://github.com/BVMather","followers_url":"https://api.github.com/users/BVMather/followers","following_url":"https://api.github.com/users/BVMather/following{/other_user}","gists_url":"https://api.github.com/users/BVMather/gists{/gist_id}","starred_url":"https://api.github.com/users/BVMather/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BVMather/subscriptions","organizations_url":"https://api.github.com/users/BVMather/orgs","repos_url":"https://api.github.com/users/BVMather/repos","events_url":"https://api.github.com/users/BVMather/events{/privacy}","received_events_url":"https://api.github.com/users/BVMather/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T15:37:57Z","updated_at":"2018-02-20T16:04:46Z","closed_at":null,"author_association":"NONE","body":"If you choose IsoCountryHolidays = \"AU\"  then the date table fails to load.\r\n\r\nYou get an error that the primary date key must contain unique values. \r\n\r\nTroubleshooting I see that Anzac Day and Easter Sunday fall on the same day in 2011.  You would need to calculate the Easter holidays days first, and continue to offset the 'normal' holiday by +1 until you reach a non-Easter holiday working day.\r\n\r\nI'm trying to figure out the required change, possibly to SubstituteHolidayOffset."},"comment":{"url":"https://api.github.com/repos/sql-bi/DaxDateTemplate/issues/comments/367026240","html_url":"https://github.com/sql-bi/DaxDateTemplate/issues/5#issuecomment-367026240","issue_url":"https://api.github.com/repos/sql-bi/DaxDateTemplate/issues/5","id":367026240,"user":{"login":"BVMather","id":16154793,"avatar_url":"https://avatars1.githubusercontent.com/u/16154793?v=4","gravatar_id":"","url":"https://api.github.com/users/BVMather","html_url":"https://github.com/BVMather","followers_url":"https://api.github.com/users/BVMather/followers","following_url":"https://api.github.com/users/BVMather/following{/other_user}","gists_url":"https://api.github.com/users/BVMather/gists{/gist_id}","starred_url":"https://api.github.com/users/BVMather/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BVMather/subscriptions","organizations_url":"https://api.github.com/users/BVMather/orgs","repos_url":"https://api.github.com/users/BVMather/repos","events_url":"https://api.github.com/users/BVMather/events{/privacy}","received_events_url":"https://api.github.com/users/BVMather/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T16:04:46Z","updated_at":"2018-02-20T16:04:46Z","author_association":"NONE","body":"I've checked some others and you get the same problem for: \r\n> Ascension Day / Labour Day in Belgium in 2008.\r\n> Ascension Day / Liberation Day in Netherlands in 2005 & 2016\r\n\r\nThere will need to be a check does a particular holidaydate fall on any of the dates generated from a table of all the holidays that are Easter-offset holidays"}}
{"actor":{"display_login":"BVMather"}}