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
DAX code is formatted by DAXFormatter
Power BI is a registered trademark of Microsoft Corp.
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.
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.Contributors
Translate “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.