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

---

Buscar plugins

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

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas 
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

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

# Code formatter for PowerBI

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

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

 * [Detalles](https://es.wordpress.org/plugins/code-formatter-for-powerbi/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/code-formatter-for-powerbi/#reviews)
 * [Desarrollo](https://es.wordpress.org/plugins/code-formatter-for-powerbi/#developers)

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

## Descripción

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.

## FAQ

### 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).

## Reseñas

No hay valoraciones para este plugin.

## Colaboradores y desarrolladores

«Code formatter for PowerBI» es un software de código abierto. Las siguientes personas
han colaborado con este plugin.

Colaboradores

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

[Traduce «Code formatter for PowerBI» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/code-formatter-for-powerbi)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/code-formatter-for-powerbi/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/code-formatter-for-powerbi/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/code-formatter-for-powerbi/)
por [RSS](https://plugins.trac.wordpress.org/log/code-formatter-for-powerbi/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 1.0.0

Initial release

## Meta

 *  Versión **1.0.0**
 *  Última actualización **hace 6 años**
 *  Instalaciones activas **10+**
 *  Versión de WordPress ** 4.0 o superior **
 *  Probado hasta **5.6.22**
 *  Versión de PHP ** 7.2 o superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/code-formatter-for-powerbi/)
 * Etiquetas:
 * [code](https://es.wordpress.org/plugins/tags/code/)[powerbi](https://es.wordpress.org/plugins/tags/powerbi/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/code-formatter-for-powerbi/advanced/)

## Valoraciones

Aún no se han enviado valoraciones.

[Tu valoración](https://wordpress.org/support/plugin/code-formatter-for-powerbi/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/code-formatter-for-powerbi/reviews/)

## Colaboradores

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

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/code-formatter-for-powerbi/)