Description
WordPress plugin for formatting and beautifying of DAX and M code
(as used in PowerQuery, PowerBI and Excel PowerPivot)
M code (PowerQuery)
[mcode theme=dark linewidth=90 width=600px ]let a = 1 in a[/mcode]
DAX code (PowerBI, PowerPivot)
[daxcode width=600px region=US]EVALUATE myTable[/daxcode]
All shortcode attributes are optional.
The plugin formats your code, by sending it to the following free services and showing the result on your site.
The formatted results for unchanged code are cached (for 30 days) via WordPress transients.
-
M code is formatted by PowerQueryFormatter
Terms of use
API Documentation -
DAX code is formatted by DAXFormatter
Terms of use (scroll down to “Terms of use”)
API Documention
By using the plugin (and therefore using the services of DAXFormatter and PowerQueryFormatter) you agree to their terms of use (see links above).
Power BI is a registered trademark of Microsoft Corp.
FAQ
-
I need a feature the plugin does not provide
-
This plugin is open source. Please provide a pull request or create an issue on the github repository.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Code formatter for PowerBI” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Code formatter for PowerBI” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
Initial release