Prerequisites


NOTE: Although there are no actual prerequisites to using DAX Optimizer, we suggest you to learn what a VPAX file is to better understand DAX Optimizer. In case you already have this knowledge, you can skip this section.

A VPAX file is created by extracting the model metadata from a Power BI or Analysis Services model. These kinds of files contain all the information needed by DAX Optimizer to analyze the model and produce the list of issues.

NOTE: A VPAX file does not contain any actual data from the model. It only holds the metadata related the model’s structure.

Extraction tools

Use the following tools to create a VPAX file:

Creating a VPAX file from DAX Studio

The Model Metrics feature in DAX studio includes an Export Metrics option that creates the VPAX file.

Exporting metrics in Dax Studio

Creating a VPAX file from Bravo

The Save as VPAX button in the Analyze Model feature of Bravo for Power BI creates the VPAX file.

Creating a VPAX file in Bravo for Power BI

Creating a VPAX file from Tabular Editor 3

In Tabular Editor 3, you can use the VertiPaq Analyzer feature to create the VPAX file:

  1. Select the View / VertiPaq Analyzer menu item.
  2. Click Collect Stats in the VertiPaq Analyzer window.
  3. Click Export in the VertiPaq Analyzer window to save the VPAX file.



Using the latest version of extraction tools

DAX Optimizer is updated regularly to support the latest features of Power BI and Analysis Services. If the VPAX file is created with an old version of the extractor tools, DAX Optimizer displays a warning message because it might generate less accurate suggestions.

Creating a VPAX file in Tabular Editor

If you analyze a VPAX file created with an older version of the software, the resulting analysis may be less accurate. Therefore, we suggest updating the extraction tool to the latest version.

Configure extraction settings

When extracting a VPAX file, it is required to configure the extraction tool to include statistics from the data. This enables the DAX Optimizer to accurately detect and evaluate issues within the model.

Retrieving model statistics from the data can be a time-consuming operation; therefore, it may be disabled in tools that generate the VPAX file. The absence of these statistics may lead to the DAX Optimizer being unable to analyze the model, resulting in the uploaded VPAX being reported as unsupported.

NOTE: DAX Optimizer may report the VPAX file as unsupported if it was extracted without enabling the reading of statistics from the data.

To ensure that the VPAX file includes the required statistics, verify the following settings are enabled in the extraction tool:

  • Statistics from data: Enable to activate statistics collection
  • Statistics from Direct Query: Enable to includes DirectQuery tables in statistics collection (required if model contains DirectQuery tables)
  • Statistics from Direct Lake: Set to Full to includes DirectLake tables in statistics collection (required if model contains DirectLake tables)
Last update: May 18, 2024