XMLA script to surface all DAX function definitions for SSAS
✓ Published0🌍 Public
HHugoberry
Last edited May 17, 2021
Created on May 17, 2021
This example shows how to surface all DAX function definitions for SQL Server Analysis Services by issuing an XMLA Execute command. The code queries the `$SYSTEM.MDSCHEMA_FUNCTIONS` schema rowset, filtering for rows where `Origin` is 3 or 4, which correspond to DAX functions. It retrieves fields such as function name, parameter info, description, interface name, and library name. The request targets a specific catalog ID and uses the standard XMLA namespace. This is a direct data-extraction approach, not a visualization library, but it produces the raw metadata needed to build any downstream chart or graph of DAX functions.
AI-generated description