Forum Discussion
How do you document your models?
- Anonymous10 years ago
My documentation style is pretty low tech as these things go. Nothing automated but it's easy enough.
I write most of my columns and measures out in Notepad++ and then copy it into Power BI. The advantages here are 1) you can format your code nicely without trouble and 2) your documentation is half-done already. Especially if you comment your code as you go.
Beyond that it's mostly a matter of organizing the code and documenting the queries. For the queries, open the advanced editor and copy all that code. You can later recreate any query instantly by pasting that back into a blank query*.
For the documentation itself, my preference is to organize by tables. A brief description of the data represented, the query, a list of the columns and their data types, then the custom columns in alphabetic order and the measures, same.
I tend to create master datasets and use them each for several different reports, so I tend not to document the reports themselves very extensively. I just keep a changelog of requests that I get about them, because everyone around here likes to change their minds about what charts they want to see. One changelog per report, starting with a note about which dataset it's coming from.
I've had to recreate one lost report so far. The original took about a week, the recovery took about three hours, and to be fair I was watching a movie while I did it.
*Assuming in some cases that you've already established a connection and credentials with the data source from the machine you're working at.
- 10 years ago
How to connect PBI to DAX Studio: http://exceleratorbi.com.au/getting-started-dax-studio/
incl. tons of other awesome stuff you can do with it!
SSAS Bus Matrix Generator
https://gallery.technet.microsoft.com/scriptcenter/SSAS-Bus-Matrix-Generator-80de3aac
Visualizing SSAS Calculation Dependencies using PowerBI
http://blog.gbrueckl.at/2016/04/visualizing-ssas-calculation-dependencies-using-powerbi/
Azure Data Catalog
https://azure.microsoft.com/en-us/documentation/articles/data-catalog-what-is-data-catalog/
Interesting...I'll take a look. I'll be especially interested in learning about the Azure Data Catalog. It's surfaced in a few recent presentations by the Microsoft crowd. Thanks, Tom