User Defined Functions were recently added as a feature of Power BI Semantic Models.
UDF's can be created at Semantic Model level and reused in Measures and Calculation Groups.
Adding this in TDI SSL's would be helpful in defining logic and calculations in a single place.
Additionally it may be useful to have DAX snippets for these UDF's so a companies’ definitions can be re-used across SSL's in the same project.