Use this plugin to format your Power BI Codes (DAX and M) via simple shorttags
Author: | mogular GmbH (profile at wordpress.org) |
WordPress version required: | 4.0 |
WordPress version tested: | 5.6.4 |
Plugin version: | 1.0.0 |
Added to WordPress repository: | 14-12-2020 |
Last updated: | 14-12-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://wordpress.org/plugins/code-formatter-f... |
Total downloads: | 587 |
Active installs: | 10+ |
Click to start download |
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
ChangeLog