[WordPress] 外掛分享: Code formatter for PowerBI

首頁外掛目錄 › Code formatter for PowerBI
WordPress 外掛 Code formatter for PowerBI 的封面圖片
10+
安裝啟用
尚無評分
1921 天前
最後更新
問題解決
WordPress 4.0+ PHP 7.2+ v1.0.0 上架:2020-12-13

內容簡介

這是一款針對 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. 的註冊商標。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Code formatter for PowerBI」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Mastodon