Available on Enterprise plan.
Configuration
To enable or disable the DAX API on a specific deployment, go to Settings in the Cube Cloud sidebar, then Configuration, and then toggle the Enable DAX API option.Date hierarchies
By default, the DAX API exposes all time dimensions as date hierarchies in Power BI. You can set theCUBEJS_DAX_CREATE_DATE_HIERARCHIES
environment variable to false to disable this behavior.
Note that each date hierarchy will include additional columns, suffixed by _year,
_quarter, _month, _day. If the data model has other members with names that follow
this pattern (e.g., a time dimension named date and another dimension named date_year
in the same cube or view), that would cause a conflict.
Authentication
The DAX API supports Kerberos and NTLM authentication methods, as well as user name and password authentication. While NTLM can be used for testing purposes, we strongly recommend configuring Kerberos for production environments. Authentication is configured on the Settings → Power BI page of your deployment. It shows the XMLA endpoint URL and manages the XMLA service account credentials and the Kerberos setup, including the keytab upload. For quick connectivity tests, you can also enable short-lived token authentication in Settings → Configuration; it is not recommended for production.Data modeling
The DAX API only exposes views, not cubes.