Skip to main content

Posts

Showing posts from June, 2026

DAX User-Defined Functions (Generally Available)

DAX user-defined functions are now production-ready based on community feedback and internal validation. Their adoption during preview shows that DAX UDFs are quickly becoming a mainstay of Power BI semantic models. Reusable, discoverable DAX building blocks Now, DAX user-defined functions are ready to support production models at scale. With DAX UDFs, you can write a calculation once and reuse it across measures, columns, and visuals — instead of copying the same expression into multiple places and hoping they stay in sync. You can use /// documentation comments to make your functions self-describing — type a function name and IntelliSense shows the function description and the signature. Type hints control parameter passing behavior and enforce type safety at runtime.   You can break large monolithic DAX expressions into small, testable pieces that are easier to read, debug, and share with your team. And perhaps best of all, because DAX UDFs are first-class model objects with typ...