3. Work arounds for known issues - marclelijveld/External-Tools-Model-Documentation GitHub Wiki

Field parameters in Power BI Report

In issue #39 is mentioned that the Model Documenter does not work when the Power BI report includes a Field Parameters.

This is a known issue in version (v2.0.1) of the Model Documenter. The solution to this has been implemented. **Please update the Power BI Model Documenter to the most recent one. **


Work-around v2.0.x and before

In case you cannot update the Model Documenter at this moment, because you are missing administrator permissions for example, below steps describe a work-around.

  1. Make sure you have DAX Studio v3.x running on your computer and configured as External Tool to Power BI. You can download DAX Studio from the official site here.

  2. In the settings of DAX Studio, make sure you enable to include TOM (Tabular Object Model) in the VPAX exports. You can find this by taking the following steps:

    • File
    • Options
    • Advanced
    • Section Vertipaq Analyzer
    • Toggle on Include TOM

image

  1. Connect DAX Studio 3 as external tool to your model that you want to document. You can do this via the external tools ribbon in Power BI Desktop.

  2. Go to the Advanced tab on top of DAX Studio once it is opened, and click export metrics.

image

  1. Save the VPAX on the default location of The Model Documenter in C:\Power BI Model Documenter

  2. Make sure the file is named ModelDocumenter.vpax

  3. Open manually the Power BI template report belonging to the Model Documenter, by default this is saved in C:\Program Files (x86)\Common Files\Data-Marc\ModelDocumenter

By now, the Model Documenter template should open and display your model correctly in the report pages. Field parameters will appear as tables in the Table view.