Skip to content

Commit 9042537

Browse files
committed
updates for v3.4.0
1 parent 7094e01 commit 9042537

File tree

7 files changed

+373
-255
lines changed

7 files changed

+373
-255
lines changed

blog/2025-08-09-v3_3_3/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
slug: v3_3_2-release
3-
title: v3.3.2 Release
2+
slug: v3_3_3-release
3+
title: v3.3.3 Release
44
authors: [dgosbell]
55
tags: [daxstudio]
66
---

blog/2025-10-06-v3_4_0/index.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
slug: v3_4_0-release
3+
title: v3.4.0 Release
4+
authors: [dgosbell]
5+
tags: [daxstudio]
6+
---
7+
import Issue from '@site/src/components/Github-Issue';
8+
9+
# DAX Studio version 3.4.0
10+
11+
## New
12+
* Adding support for UDFs in code completion and Functions tab
13+
* Adding support for custom calendars in code completion
14+
* <Issue id="1376"/> Adding parquet file export support
15+
* File results output
16+
* export data has a parquet option
17+
* dscmd `FILE` output supports .parquet output
18+
19+
## Updated
20+
* Clipboard handling improvements with re-tries
21+
* improvements to Find/Replace dialog layout
22+
* Adding support for SSAS 2025
23+
* Improving the styling of Power BI Performance data
24+
* <Issue id="1405"/> Adding totals to Power BI Performance Data
25+
* Added RequestID to trace information
26+
* added `FILE` option to dscmd - this is an alias for the CSV command, but the more generic name makes more sense now that we also support .parquet files
27+
* Enhanced the ServerTimings tooltip to show event endtime and calculated duration (based on end - start)
28+
29+
## Fixes
30+
* Fix <Issue id="1402"/> adding table name when defining formatstring expressions
31+
* Fix <Issue id="1403/> prevent crash due to special characters in table/column names
32+
* Fix cancel button not working on Multiple Queries Detected dialog when pasting from Performance Analyzer
33+
* Fixes to close logic for FE Benchmark
34+
* Fixing View As not working with dynamic roles against Power BI Desktop
35+
* Fixed <Issue id="1399"/> authentication 403 error when connecting to Sovereign Clouds

docs/features/command-line/commands/csv-command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ DSCMD CSV <OutputFile> [OPTIONS]
2828
| -c, --connectionstring &lt;CONNECTIONSTRING> | The connection string for the data source |
2929
| -f, --file &lt;FILE> | A file containing a DAX query to be executed. Could be a text file or .dax or .daxx |
3030
| -q, --query &lt;QUERY> | A string with the DAX query to be executed |
31-
| -t, --filetype &lt;VALUE>| Can be one of the following values ( UTF8CSV, UNICODECSV, JSON, TAB ) if omitted the file extension is used <ul><li>.csv - UFT-8 csv file is generated</li><li>.txt - tab delimited file is generated</li><li>.json - a json file is generated </li></ul>|
31+
| -t, --filetype &lt;VALUE>| Can be one of the following values ( UTF8CSV, UNICODECSV, JSON, TAB, PARQUET ) if omitted the file extension is used <ul><li>.csv - UFT-8 csv file is generated</li><li>.txt - tab delimited file is generated</li><li>.json - a json file is generated </li></ul>|
3232
| -m, --parameter &lt;PARAMETER=VALUE> | Parameter values to be passed into the query (see [-m --parameter option](#-m---parameter-option) below)|
3333

3434
### -m --parameter Option
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
title: CSV command
3+
---
4+
5+
This command will send output to a file based on the results of a DAX query
6+
7+
## Syntax
8+
9+
```
10+
DSCMD FILE <OutputFile> [OPTIONS]
11+
```
12+
13+
## Arguments
14+
15+
| Name | Description |
16+
|---|---|
17+
| &lt;OutputFile> | The path and name of the file to which the CSV data will be written |
18+
19+
## Options
20+
21+
| Option | Description |
22+
| ---|---|
23+
| -h, --help | displays the help for the CSV command|
24+
| -s, --server &lt;SERVER> | the name of the server to connect to |
25+
| -d, --database &lt;DATABASE> | The name of the tabular database to export from |
26+
| -u, --userid &lt;USERID> | The username to use for authentication (see [Authentication](../../authentication) for more details) |
27+
| -p, --password &lt;PASSWORD> | The password to use for authentication (see [Authentication](../../authentication) for more details) |
28+
| -c, --connectionstring &lt;CONNECTIONSTRING> | The connection string for the data source |
29+
| -f, --file &lt;FILE> | A file containing a DAX query to be executed. Could be a text file or .dax or .daxx |
30+
| -q, --query &lt;QUERY> | A string with the DAX query to be executed |
31+
| -t, --filetype &lt;VALUE>| Can be one of the following values ( UTF8CSV, UNICODECSV, JSON, TAB, PARQUET ) if omitted the file extension is used <ul><li>.csv - UFT-8 csv file is generated</li><li>.txt - tab delimited file is generated</li><li>.json - a json file is generated </li></ul>|
32+
| -m, --parameter &lt;PARAMETER=VALUE> | Parameter values to be passed into the query (see [-m --parameter option](#-m---parameter-option) below)|
33+
34+
### -m --parameter Option
35+
If you have a DAX query with parameters you can pass these in using the `-m, -parameter` option, if you have multiple parameters in your query you can provide multiple parameter values
36+
37+
In the following example the query has 2 parameters **@myColor** and **@myCategory** which are passed in using 2 `-m` options
38+
39+
eg.
40+
```
41+
dscmd csv c:\temp\myquery.csv -s localhost\tab19 -d "Adventure Works DW" ^
42+
-m myColor=Red ^
43+
-m myCategory=Bikes ^
44+
-q "EVALUATE FILTER('product', 'product[Color]=@myColor && 'product'[Category]=@myCategory)"
45+
```
46+
47+
## Examples
48+
49+
The following example exports to a file called myquery.csv in the c:\temp folder and connects as the user running the command
50+
51+
```
52+
dscmd csv c:\temp\myquery.csv -s localhost\tab19 -d "Adventure Works DW" -q "EVALUATE 'product'"
53+
```
54+
55+
```
56+
dscmd csv c:\temp\myquery.csv -c "Data Source=localhost\tab19;initial catalog=Adventure Works DW" -q "EVALUATE 'product'"
57+
```

docs/features/export-data.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
title: Export Data
33
---
44

5-
This feature gives you the ability to export entire tables from your data model to either CSV files or to SQL Server
5+
This feature gives you the ability to export entire tables from your data model to either CSV files, PARQUET files or to SQL Server
66

77
:::info
88
DAX Studio uses a stream architecture to write out the data as it arrives, so it rarely consumes more than a few hundred Mb while exporting. Typically any "Out of Memory" errors while exporting are due to the fact that the Tabular engine attempts to materialize the **entire** result set in memory before returning it to DAX Studio.
9+
10+
DAX Studio attempts to avoid this issue by running a series of queries using TOPNSKIP if this is supported by the version of the engine that is being queried.
911
:::

0 commit comments

Comments
 (0)