Skip to content

[Bug]: Power BI Desktop Deviation: Trailing space after (source|measure|column|extendedProperty) = #26

@SamuelT-Beslogic

Description

@SamuelT-Beslogic

Version

1.6.3

Description

Unconfigurable formatting deviation from Power BI Desktop.
Power BI Desktop will format source = in .tmdl files to NOT have a trailing space.
This extension will format source = in .tmdl files to HAVE a trailing space.

Even outside of Power BI Desktop deviation, not having trailing space is better formatting practice and even better follows the rest of the formatting this extension offers.

Steps to Reproduce

  1. Format any .tmdl file using this extension
  2. See it adds a trailing space after source =
  3. Open a report with that semantic Model in Power BI Desktop, do any modification to the relevant table. Save.
  4. See it removes the trailing space after source =

Expected Behavior

Power BI desktop and this extension should format .tmdl files the same way.

Actual Behavior

Power BI desktop and this extension don't format .tmdl files the same way.

Additional Context

Right: Power BI Desktop
Left: This extension

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions