diff --git a/blog/2024-02-08-v3_1_0/index.mdx b/blog/2024-07-29-v3_1_0/index.mdx similarity index 53% rename from blog/2024-02-08-v3_1_0/index.mdx rename to blog/2024-07-29-v3_1_0/index.mdx index 1bc6b2da..03533975 100644 --- a/blog/2024-02-08-v3_1_0/index.mdx +++ b/blog/2024-07-29-v3_1_0/index.mdx @@ -14,42 +14,66 @@ Today we are happy to announce the release of version 3.1.0 of DAX Studio which ### DSCMD - DAX Studio command line utility DAX Studio is now shipping with a new utility called `dscmd.exe` this tool is a command line utility so you can run a subset of common operations from a command line. -This means that you can schedule tasks or run them as part of automated build pipelines. +This means that you can schedule tasks or run them as part of automated build pipelines. [Learn more](/docs/features/command-line) + +![](../../docs/features/command-line/dscmd.png) ### Capture Diagnostics This feature provides an easy way to capture Server Timings, Query Plan and Model Metrics with a single click. This works for a single query in the editor or you can run this over the current set of queries in an All Queries trace or from imported Power BI Performance data. If you are using the All Queries or Performance Data option only queries matching the filter conditions are captured so you can do things like only capture diagnostics -for queries that run longer than 100ms. +for queries that run longer than 100ms. [Learn More](/docs/features/capture-diagnostics) + +![](../../docs/features/capture-diagnostics-all-queries.png) ### Database dialog +When connecting to a server with a lot of databases like a Power BI workspace / Fabric it can be frustrating to wait for the first database in the list to populate its metadata + and then have to change to one of the other database and wait again for the metadata. Now if it detects multiple databases DAX Studio will display a list of them so that + you can select the one you wish to connect to. The list is sorted alphabetically and has a search box to help quickly locate a specific semantic model [Learn more](/docs/features/database-dialog) + +![](../../docs/features/database-dialog.png) + +### EvaluateAndLog Trace +The EvaluateAndLog function in DAX provides a way to get visibility of intermediate result sets that are used when evaluating DAX expressions. These can be helpful in diagnosing logic issues. +[Learn more](/docs/features/traces/evaluateandlog-trace) + +![](../../docs/tutorials/eval-and-log-3.png) + +### Execution Metrics added to Server Timings +The new ExecutionMetrics events are now visible in Server Timings if your data source is capable of emitting those events. [Learn more](/docs/features/traces/server-timings-trace/#execution-metrics-events) +![](../../docs/features/traces/server-timings-executionmetrics.png) +## Full Change List -## New Features +### New Features * Added [Capture Diagnostics](/docs/features/capture-diagnostics) * Added [Evaluate and Log trace](/docs/features/traces/evaluateandlog-trace) * Added [Database dialog](/docs/features/database-dialog) when connecting * Added [command line](/docs/features/command-line) support * Added Model Metrics / Vertipaq Analyzer [Options dialog](/docs/features/model-metrics/#metric-options-dialog) * Added support for [obfuscated](/docs/features/model-metrics/#obfuscated-vertipaq-analyzer-files) model metrics -* Added support to Server Timings for the new [ExecutionMetrics event](https://powerbi.microsoft.com/en-in/blog/new-executionmetrics-event-in-azure-log-analytics-for-power-bi-semantic-models/) +* Added support to Server Timings for the new [ExecutionMetrics event](/docs/features/traces/server-timings-trace/#execution-metrics-events) -## Improvements +### Improvements * made listview selected row color lighter to improve the contrast * Improved labelling of the zoom level +* Added "learn more" link to connection dialog * Added storage mode column to the Partitions tab in View Metrics * updated TOM, ADOMD and other 3rd party dependencies * Fixed the images for the Server Timings event type filters +* Moved [Server FE Benchmark](/docs/features/server-fe-benchmark/) out of preview status -## Fixes +### Fixes * Fixed a crash trying to show fonts in the option dialog * Fixed Formatted file export not applying formatting * Fixed loading of AggregateRewrite events in saved Server Timings -* Fixed occassional crash when using publish functions +* Fixed occasional crash when using publish functions * Fixed Query Builder not respecting delimiter setting -* Fixed < reconnect active traces on connection retries +* Fixed reconnect active traces on connection retries * Fixed an issue in QueryBuilder when loading a saved query containing a hierarchy * Fixed an issue in QueryBuilder when trying to filter on a query scoped measure * Fixed an issue where the Ribbon buttons get stuck in a disabled state after an error while a trace is active -* Fixed ViewAs not working with "Other User" option against the Power BI Service +* Fixed Status bar timer stopped too early +* Fixed where the View As dialog did not work properly with a large number of roles \ No newline at end of file diff --git a/docs/features/capture-diagnostics-all-queries.png b/docs/features/capture-diagnostics-all-queries.png new file mode 100644 index 00000000..95603da6 Binary files /dev/null and b/docs/features/capture-diagnostics-all-queries.png differ diff --git a/docs/features/capture-diagnostics-pbi-performance.png b/docs/features/capture-diagnostics-pbi-performance.png new file mode 100644 index 00000000..71b9e1a2 Binary files /dev/null and b/docs/features/capture-diagnostics-pbi-performance.png differ diff --git a/docs/features/capture-diagnostics-ribbon.png b/docs/features/capture-diagnostics-ribbon.png new file mode 100644 index 00000000..0d87a151 Binary files /dev/null and b/docs/features/capture-diagnostics-ribbon.png differ diff --git a/docs/features/capture-diagnostics.md b/docs/features/capture-diagnostics.md index e12b6210..84542442 100644 --- a/docs/features/capture-diagnostics.md +++ b/docs/features/capture-diagnostics.md @@ -4,12 +4,6 @@ title: Capture Diagnostics Capture Diagnostics is designed as a way to capture diagnostic information about 1 or more queries in a single file. This file can then be used for later analysis. -Capture Diagnostics can be trigged in a number of different ways. - -It is available as a button in the Advanced Ribbon. In this scenario it will attempt to capture diagnostics against the query in the editor window. If there is no text in the editor window it will check the clipboard contents for a possible DAX query and use that. - -It is also available in both the All Queries Trace window and in the Power BI Performance Data window. In both of these cases you can use the filter option to further refine the list of queries. For example you can filter for only those that took longer than a given duration. The Capture Diagnostics option will then run all of the selected queries and save the results in a single .zip file. - When you click the Capture Diagnostic it will automate performing the following actions. 1. Running **View Metrics** 1. Starting a **Server Timings** trace @@ -17,3 +11,20 @@ When you click the Capture Diagnostic it will automate performing the following 1. Running a **Clear Cache** command 1. Saving the results as a .daxx file (or saving multiple daxx files to a zip file) +Capture Diagnostics can be trigged in a number of different ways. + +It is available as a button in the Advanced Ribbon. In this scenario it will attempt to capture diagnostics against the query in the editor window. If there is no text in the editor window it will check the clipboard contents for a possible DAX query and use that. + +![](./capture-diagnostics-ribbon.png) + +It is also available in both the All Queries Trace window: + +![](./capture-diagnostics-all-queries.png) + +And in the Power BI Performance Data window: + +![](./capture-diagnostics-pbi-performance.png) + +In both of these cases you can use the filter option to further refine the list of queries. For example you can filter for only those that took longer than a given duration. The Capture Diagnostics option will then run all of the selected queries and save the results in a single .zip file. + + diff --git a/docs/features/command-line/commands/csv-command.md b/docs/features/command-line/commands/csv-command.md index 47266489..4771cfad 100644 --- a/docs/features/command-line/commands/csv-command.md +++ b/docs/features/command-line/commands/csv-command.md @@ -28,6 +28,7 @@ DSCMD CSV [OPTIONS] | -c, --connectionstring <CONNECTIONSTRING> | The connection string for the data source | | -f, --file <FILE> | A file containing a DAX query to be executed. Could be a text file or .dax or .daxx | | -q, --query <QUERY> | A string with the DAX query to be executed | +| -t, --filetype | Can be one of the following values { UTF8CSV, UNICODECSV, JSON, TAB } if omitted the file extension is used
  • .csv - UFT-8 csv file is generated
  • .txt - tab delimited file is generated
  • .json - a json file is generated
| ## Examples diff --git a/docs/features/command-line/dscmd.png b/docs/features/command-line/dscmd.png new file mode 100644 index 00000000..e716907e Binary files /dev/null and b/docs/features/command-line/dscmd.png differ diff --git a/docs/features/command-line/index.md b/docs/features/command-line/index.md index c67aec78..16c8acf4 100644 --- a/docs/features/command-line/index.md +++ b/docs/features/command-line/index.md @@ -3,6 +3,8 @@ title: DSCMD - DAX Studio Command Line --- This section documents the DAX Studio command line utility dscmd.exe +![](./dscmd.png) + ## Syntax The different [commands](commands) all use the same [syntax](syntax) conventions. diff --git a/docs/features/intro.md b/docs/features/intro.md index 8ecddb94..49e37c31 100644 --- a/docs/features/intro.md +++ b/docs/features/intro.md @@ -6,3 +6,5 @@ sidebar_position: 1 This section lists of all the features in DAX Studio. + +