Update _format_dax to use the new DAX Formatter API endpoint - #1266
Merged
Michael Kovalsky (m-kovalsky) merged 2 commits intoJun 24, 2026
Conversation
Migrate from `daxformatter.azurewebsites.net` to `api.daxformatter.com` as per sql-bi/DaxFormatter#23. The old domain issues permanent 301 redirects to the new host. The new `api.daxformatter.com` domain also drops the `/daxformatter/` segment from the path: `/api/daxformatter/daxtextformatmulti`
The DaxFormatter API expects CallerApp and CallerVersion as JSON body fields, not HTTP headers.
Michael Kovalsky (m-kovalsky)
approved these changes
Jun 24, 2026
Michael Kovalsky (m-kovalsky)
merged commit Jun 24, 2026
899e8b8
into
microsoft:main
3 checks passed
Collaborator
|
Thank you Alberto! |
Collaborator
|
This is now in prod. Thank you! |
Contributor
Author
|
Thank you Michael Kovalsky (@m-kovalsky) ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates
_format_daxto use the new API endpoint. The DaxFormatter service migrated fromdaxformatter.azurewebsites.netto the new official domainapi.daxformatter.com, with an updated path — as documented in the upstream change: sql-bi/DaxFormatter#23.Changes:
/daxformatter/segment was removed from the path) (df60850)CallerApp/CallerVersion: moved from HTTP headers into the JSON request body, aligning with the reference C# implementation inDaxFormatterRequest.cswhere these are serialized as body properties, not headers. (f353df3)