Dax.Optimizer.CLI
1.5.2
dotnet tool install --global Dax.Optimizer.CLI --version 1.5.2
dotnet new tool-manifest
dotnet tool install --local Dax.Optimizer.CLI --version 1.5.2
#tool dotnet:?package=Dax.Optimizer.CLI&version=1.5.2
nuke :add-package Dax.Optimizer.CLI --version 1.5.2
Dax.Optimizer.CLI
A .NET tool that provides command-line access to DAX Optimizer.
Installation
dotnet tool install Dax.Optimizer.CLI --global
Authentication
Choose the authentication mode based on your account type and whether you need interactive or automated access.
| Mode | Interactive | Authentication | License |
|---|---|---|---|
| Individual Account | Yes | Browser login via daxoptimizer login |
Any |
| Group Account | Yes | Browser login via daxoptimizer login --group-account <name> |
Any |
| Personal Access Token | No | Credentials passed directly to analyze |
Enterprise only |
Individual Account
Use this mode when both the license and the model belong to your personal account. Run login once to authenticate via browser — the session is saved locally for subsequent commands.
daxoptimizer login --region <region>
daxoptimizer analyze file.vpax --workspace-id <id> --model-id <id>
Use daxoptimizer logout to clear the saved session.
Group Account
Use this mode when the model and license belong to a group account. Run login with --group-account to authenticate via browser and save the group account context — subsequent commands use that context automatically. Your user must be a member of the group account.
daxoptimizer login --region <region> --group-account <group-account-name>
daxoptimizer analyze file.vpax --workspace-id <id> --model-id <id>
Personal Access Token
Provide --username (PAT client ID) and --password (PAT secret) directly on the analyze command for non-interactive authentication. This mode is intended for automation (e.g. CI/CD pipelines) and requires a group account with an active Enterprise license. The --region option is required when using PAT authentication.
daxoptimizer analyze file.vpax --username "my-group-account" --password "my-secret" --region <region> --workspace-id <id> --model-id <id>
For more information on automation, see the how-to guide.
Command reference
| Command | Description |
|---|---|
daxoptimizer login |
Authenticate via browser and save the session for subsequent commands |
daxoptimizer logout |
Clear cached credentials and the saved session |
daxoptimizer analyze <path> |
Upload and analyze a VPAX file in the DAX Optimizer service |
daxoptimizer account show |
Display information about the currently authenticated account |
daxoptimizer workspace list |
List all workspaces accessible by the authenticated account |
daxoptimizer workspace model list <workspaceId> |
List all models in a workspace |
Run daxoptimizer -? or daxoptimizer <command> -? for full option details.
Examples
The following examples use the analyze command to upload a local VPAX file for analysis in DAX Optimizer.
By adding the --output option, the analysis results are also saved locally as a .zip file containing a JSON file with the full model analysis, including identified issues and recommendations.
Tip: In the DAX Optimizer web application, right-click on a model to auto-generate the CLI command with the correct parameters already filled in.
Interactive login (individual account)
daxoptimizer login --region "westeurope"
daxoptimizer analyze "C:\models\sales.vpax" --workspace-id <id> --model-id <id> --output "C:\path\file.zip"
Interactive login (group account)
daxoptimizer login --region "westeurope" --group-account "my-group-account"
daxoptimizer analyze "C:\models\sales.vpax" --workspace-id <id> --model-id <id> --output "C:\path\file.zip"
Automation CI/CD (PAT)
daxoptimizer analyze "C:\models\sales.vpax" --username "my-group-account" --password "my-secret" --region "westeurope" --workspace-id <id> --model-id <id> --output "C:\path\file.zip"
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.5.2 | 107 | 5/14/2026 |
| 1.4.7 | 149 | 3/30/2026 |
| 1.4.6 | 132 | 3/27/2026 |
| 1.4.6-beta | 107 | 3/27/2026 |
| 1.4.5-beta | 104 | 3/25/2026 |
| 1.4.2-beta | 105 | 3/24/2026 |
| 1.3.4 | 161 | 1/27/2026 |
| 1.2.4 | 2,213 | 10/6/2025 |
| 1.1.8 | 1,013 | 10/22/2024 |
| 1.0.3 | 226 | 7/16/2024 |