marclelijveld / External-Tools-Model-Documentation

This repository includes everything that is needed in order to run the External Tools capability in Power BI Desktop and generate Model Documentation.
https://data-marc.com/model-documenter/
MIT License
110 stars 42 forks source link

Update ModelDocumentationTemplate_v2.0.0.pbit #25

Closed fuglphoenix closed 2 years ago

fuglphoenix commented 2 years ago

as mentioned in #24

Power BI removes white tailing/leading whitespaces when displaying text. this means that your nicely formatteded DAX code will be hard to read. To format the measures nicely. we can replace the whitespaces with a utf8 U+2002.

https://www.compart.com/en/unicode/U+2002

marclelijveld commented 2 years ago

@fuglphoenix I'm reviewing the changes, which is a manual thing as Power BI files are binary files.

Is it correct that you applied the suggested enhancement for formatting to:

But not to:

Is that right?

fuglphoenix commented 2 years ago

yes, i missed that one. i'll change that

marclelijveld commented 2 years ago

Sorry for the mess I made... I updated everything now, and the changes should be included by now. With the PR, an old issue was reintroduced, so I had to fix this first. Therefore I did a quick revert and fixed everything again. See latest commits.