
內容簡介
這是一款針對 DAX 和 M code (PowerQuery、PowerBI 和 Excel PowerPivot 中使用的程式語言)進行格式化和美化的 WordPress 外掛程式。
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]
所有shortcode 屬性都是可選的。
此外採用 WordPress 的過渡快取(transients)特性,以使經過格式處理的程式碼(未被修改的),可以在網站端快取(30 天)。
使用 PowerQueryFormatter 來進行 M code 格式化。
使用條款
API 文件
使用 DAXFormatter 來進行 DAX code 格式化。
使用條款(參閱 “Usage policy”)
API 文件
您使用本外掛程式同時代表您同意 DAXFormatter 以及 PowerQueryFormatter 的使用條款(請參閱上述相應連結)。
Power BI 是 Microsoft Corp. 的註冊商標。
外掛標籤
開發者團隊
原文外掛簡介
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.
