Title: Code formatter for PowerBI
Author: mogular
Published: <strong>2020-12-14</strong>
Last modified: 2020-12-14

---

Szukaj wtyczek

![](https://ps.w.org/code-formatter-for-powerbi/assets/banner-772x250.png?rev=2438884)

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://ps.w.org/code-formatter-for-powerbi/assets/icon.svg?rev=2438884)

# Code formatter for PowerBI

 Autor: [mogular](https://profiles.wordpress.org/mogular/)

[Pobierz](https://downloads.wordpress.org/plugin/code-formatter-for-powerbi.1.0.0.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/code-formatter-for-powerbi/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/code-formatter-for-powerbi/#reviews)
 * [Rozwój](https://pl.wordpress.org/plugins/code-formatter-for-powerbi/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/code-formatter-for-powerbi/)

## Opis

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](https://www.powerqueryformatter.com)
   
   [Terms of use](https://www.powerqueryformatter.com/api) [API Documentation](https://www.powerqueryformatter.com/api)
 * DAX code is formatted by [DAXFormatter](https://www.daxformatter.com)
    [Terms of use](https://www.daxformatter.com)(
   scroll down to „Terms of use”) [API Documention](https://www.sqlbi.com/blog/marco/2014/02/24/how-to-pass-a-dax-query-to-dax-formatter/)

By using the plugin (and therefore using the services of [DAXFormatter](https://www.daxformatter.com)
and [PowerQueryFormatter](https://www.powerqueryformatter.com)) you agree to their
terms of use (see links above).

Power BI is a registered trademark of Microsoft Corp.

## Najczęściej zadawane pytania

### 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](https://github.com/mogular/wp-powerbicodeformatter).

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„Code formatter for PowerBI” jest oprogramowaniem open source. Poniższe osoby miały
wkład w rozwój wtyczki.

Zaangażowani

 *   [ mogular ](https://profiles.wordpress.org/mogular/)

[Przetłumacz wtyczkę “Code formatter for PowerBI” na swój język.](https://translate.wordpress.org/projects/wp-plugins/code-formatter-for-powerbi)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/code-formatter-for-powerbi/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/code-formatter-for-powerbi/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/code-formatter-for-powerbi/)
przez [RSS](https://plugins.trac.wordpress.org/log/code-formatter-for-powerbi/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.0.0

Initial release

## Meta

 *  Wersja **1.0.0**
 *  Ostatnia aktualizacja **6 lat temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 4.0 lub nowszej **
 *  Testowano do **5.6.23**
 *  Wersja PHP ** 7.2 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/code-formatter-for-powerbi/)
 * Tagi
 * [code](https://pl.wordpress.org/plugins/tags/code/)[powerbi](https://pl.wordpress.org/plugins/tags/powerbi/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/code-formatter-for-powerbi/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/code-formatter-for-powerbi/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/code-formatter-for-powerbi/reviews/)

## Zaangażowani

 *   [ mogular ](https://profiles.wordpress.org/mogular/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/code-formatter-for-powerbi/)