-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
slug: v3_0_9-release | ||
title: v3.0.9 Release | ||
authors: [dgosbell] | ||
tags: [daxstudio] | ||
--- | ||
import Issue from '@site/src/components/Github-Issue'; | ||
|
||
# DAX Studio version 3.0.9 | ||
|
||
Today we are happy to announce the release of version 3.0.9 of DAX Studio which includes the following fixes and Updates | ||
|
||
:::info | ||
If you are testing DAX Optimizer you should update to this release as it includes . | ||
::: | ||
|
||
# Indent based code Folding | ||
|
||
This new preview feature enables the ability to collapse sections of a query based on the indenting levels | ||
|
||
![](./indent-code-folding-formatted.png) | ||
|
||
You can read more about this preview feature [here](/docs/features/indent-code-folding/) | ||
|
||
# Updates | ||
* Updated Vertipaq Analyzer libraries to work with DAX Optimizer | ||
* Preview - [Indent Based Code Folding](/docs/features/indent-code-folding/) | ||
|
||
# Fixes | ||
* Fix <Issue id="1159"/> Saved Server Timings not loading | ||
* Fix <Issue id="1155"/> add escaping to find references | ||
* Fix <Issue id="1154"/> define measure in calculation groups | ||
* Fix <<Issue id="1152"/> typo in Query Builder | ||
* Fix <Issue id="1146"/> Sorting by Translated Names | ||
* Improved DQ formatting | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: Indent Based Code Folding | ||
--- | ||
|
||
:::info | ||
This is a preview feature an needs to be enabled using the setting under Options > Preview | ||
::: | ||
|
||
DAX Studio does not have a fully featured DAX parser making some features like code folding impossible to implement correctly, but this feature provides an interesting work around which works for "well formatted" DAX code by allowing the code to be collapsed based on indentation levels. This does allow for some interesting use cases where you can indent a block of code from a long query and collapse it so that you can view just the portions of code that are of interest to you in a single screen. | ||
|
||
If we take the following query as an example | ||
|
||
![](./indent-code-folding-unformatted.png) | ||
|
||
When we turn on the indent based code folding we see that lines 6-9 can be collapsed | ||
|
||
![](./indent-code-folding-unformatted1.png) | ||
|
||
However if we use the [Format DAX](../daxformatter-support) to format the code we can see how it is now possible to collapse logical blocks of the code | ||
|
||
![](./indent-code-folding-formatted.png) | ||
|
||
This allows us to collapse variables and measures or function calls so that it is possible to just focus on a specific part of the query | ||
|
||
![](./indent-code-folding-formatted-folded.png) |