GithubHelp home page GithubHelp logo

daxstudio / daxstudio Goto Github PK

View Code? Open in Web Editor NEW
655.0 48.0 141.0 37.91 MB

DAX Studio is a tool to write, execute, and analyze DAX queries in Power BI Desktop, Power Pivot for Excel, and Analysis Services Tabular.

Home Page: http://daxstudio.org

License: Other

PowerShell 0.16% C# 96.94% Batchfile 0.15% Inno Setup 2.75%

daxstudio's Introduction

Build Status

Branch Status
master Master Build Status
develop Develop Build Status

Building Dax Studio

All of the dependencies for DAX Studio are available as nuget packages, so doing a nuget restore should be enough to build this solution in Visual Studio 2022

When preparing to make changes in order to submit a pull request you should create a feature branch off the develop branch. The develop branch contains the current development build of the code including any new features. The master branch only contains the code for the last stable release. (we merge from develop to master when doing a public release)

See the following for details about debugging DAX Studio

daxstudio's People

Contributors

albertospelta avatar azure-pipelines[bot] avatar brettbialer avatar davestabilify avatar dependabot[bot] avatar dgosbell avatar dmarkle avatar fhtino avatar mankarse avatar marcosqlbi avatar ruiromano avatar spascoe avatar teroman avatar warthurton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

daxstudio's Issues

Version checking is not working

With DAX Studio 2.7.1 the about box says "Ahead of Production Version - 2.7.0"
With DAX Studio 2.7.2 the about box says "Checking for updates..." and never shows any update

suggestion: auto-save

How about an auto-save feature in DAX Studio to prevent loss of work when the unfortunate little crashes occur from time to time.

Matt.

DAX Studio 2.7 beta test

We are looking for a few beta testers of DAX Studio 2.7.
If you are interested, please contact us in this thread.

Could not connect , after version 2.4.3 with excel 2010

The Issue from id #4360 remains with version 2.7
"I´m not to able to connect Excel Power Pivot Data Model. The following message error appears in the window output "Could not connect to "Power Pivot model". the connection has timed out or lost"

with version 2.43. everything works fanatastically, all subsequent versions fail to connect on start of the addin.

Maybe it has something to do with Excel 2010.
I have 2010 Office professional, excel 2010 32 bit (version 14.0.7188.5002) with the powerpivot from 29.11.15 (the latest I believe).
p.s. I also tried manually installing AMO and ADOMD from SQL server 2012 tools (32 bit) and then installing manually AMO and ADOMD SQL server 2016 tools (32 bit) as well before installing the update, thinking 2010 needs SQL server 2012 as well. that didn't work.
Dan

DAX Studio can't connect to Azure Analysis Services

For a full connection string like asazure://westcentralus.asazure.windows.net/dbname it says Could not connect to 'as azure://westcentralus.asazure.windows.net/dbname': The connection string is not valid".

For the same connection string with the protocol name removed (westcentralus.asazure.windows.net/dbname) , it says "... Ensure that the server is running".

Disable Add In Excel 2013

Hello,
The add in is disable. When I go to Account to enable, the Add Ins folder has a Dax folder with 27 subfolders. Where is the add in located and why can I not see it?

Thanks

Dax Studio can't connect to Excel 2016 PowerPivot

When I click Dax Studio on AddIn tab in Excel with a spreadsheet with PowerPivot loaded, it doesn't do anything. I am not getting any notifications, error messages etc.

Windows Application Log shows the following informational event:
The description for Event ID 0 from source DaxStudio cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
DaxStudio Excel Add-in Listening on port 9000
the message resource is present but the message is not found in the string/message table

Troubleshooting steps I've done:

  • Enabled VSTO logging - no luck, no notifications
  • Manually enabled Fusion Logging - no logs appeared in the folder I provided even after I opened a standalone version of Dax Studio.
  • Checked for dependencies using a powershell script provided on Dax Studio's Codeplex page - everything needed is in place.

I do not see any *.config files in the c:\program files\Dax Studio folder, nor in appdata\Roaming\DaxStudio. Are they stored somewhere else?

BTW, the tooltip on the icon says "Exectute Dax Query".

App Crashes When Trying to Define and Expand Specific Measures

When selecting "Define and Expand Measure" for particular measures that are more complex, DaxStudio hangs and eventually crashes.

EXAMPLE MEASURE:
Transfer Timeliness Grouping =
CALCULATE( [Days to Transfer],
FILTER(
VALUES( Investigations[Days to Transfer] ),
COUNTROWS(
FILTER(
'Case Transfer Timeliness',
Investigations[Days to Transfer] <= 'Case Transfer Timeliness'[Max]
&& Investigations[Days to Transfer] > 'Case Transfer Timeliness'[Min] ) )
> 0 ) )

daxstudio-issue-1

Dax output uses a comma in numeric values instead of decimal

Hi .

When I execute my query in DAX studio the numeric data is returned using commas (1000 separator) instead of a decimal. If I use the Dax query in SSRS the same occurs and it causes issues with doing summaries on numerical data.

Is there something I can do ...

Example of my query:
"Cubes TM", FORMAT ( [Sum of Cubes 2], "Standard" )
or
"Cubes TM", [Sum of Cubes 2],
or
"Cubes TM", FORMAT ( [Sum of Cubes 2], "General Number" )

Result is 0,19 instead of 0.19

Thanks
W

New tab default as current connection

Would not it be nice if – when using CTRL-N to open a new tab – DAX Studio replicated the same connection settings of the current one? It is just a few clicks, but whenever I open a new tab, I quite always want to run a new query on the same database with the same settings for query plan and server timings.

Cannot enable add-in: runtime error

From @prostas on May 16, 2017 9:23

I have some issues enabling DAX Studio add-in. When trying to enable it nothing happens, and when trying to re-do, then it results in the following error (I am using Excel 64 bit version 2013):

![Image]http://ge.tt/9Vy1U7k2

Copied from original issue: DaxStudio/DaxStudio.github.io#1

Right Click ->Define Dependent Measures--> How to get full dump or entire cube

Hello,

Since SSAS no longer supports the $System.Discover_Calc_Dependency DMV for models of compatibility 1200 and up, I have been trying to find another way to get this information. DAX studio has the ability to do this so I profiled the call to the cube when I right clicked a measure and clicked "Define Dependent Measures" . I saw that you are making an XMLA call to every table to get the dependencies. However, I was unable to replicate the call to get information back. Do you guys know of a way to do this so I can get the dependencies of all measures for the cube? I will gladly take and XML result set :)

Thank you!
Best,
Caden

Crashes while connecting to PowerPivot Model

I am running DaxStudio from excel Add In. It crashes during PowerPivot model connection. Screenshot of the exception:
sda

And here is the output of DaxStudio.Checker.exe

`Checking Operating System

OSCaption = Microsoft Windows 10 Pro
OSVersion = 10.0.10240
OSArchitecture = 64-bit
VisibleMemoryGB = 7.87
FreeMemoryGB = 3.87

Checking .Net Framework

v2.0.50727 -> 2.0.50727.4927
v2.0.50727\1033 -> 2.0.50727.4927
v3.0 -> 3.0.30729.4926
v3.0\Setup -> 3.0.30729.4926
v3.0\Setup\1033 -> 3.0.30729.4926
v3.0\Setup\Windows Communication Foundation -> 3.0.4506.4926
v3.0\Setup\Windows Presentation Foundation -> 3.0.6920.4902
v3.5 -> 3.5.30729.4926
v3.5\1033 -> 3.5.30729.4926
v4\Client -> 4.6.01055
v4\Client\1033 -> 4.6.01055
v4\Full -> 4.6.01055
v4\Full\1033 -> 4.6.01055
v4.0\Client -> 4.0.0.0

Checking AMO

PASS > Microsoft.AnalysisServices, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
PASS > Microsoft.AnalysisServices, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
WARN > Could not load file or assembly 'Microsoft.AnalysisServices, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Checking ADOMD.NET

PASS > Microsoft.AnalysisServices.AdomdClient, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
PASS > Microsoft.AnalysisServices.AdomdClient, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
WARN > Could not load file or assembly 'Microsoft.AnalysisServices.AdomdClient, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Dax Studio Configuration

Dax Studio registry key not found.

Checking Excel Add-in

Detected Excel Version: 15 - Excel_2016
Excel Path: C:\PROGRA2\MICROS1\Office15\EXCEL.EXE
Excel Architecture: x86

DAX Studio Excel Add-in Registry keys
Description: Dax Studio Excel Add-In
FriendlyName: Dax Studio Excel Add-In
Manifest: file:///C:/Program Files/DAX Studio/DaxStudio.vsto|vstolocal
LoadBehavior: 3

Checking for Excel 2010 Disabled Add-ins
PASS > No Disabled items found.
Checking for Excel 2013 Disabled Add-ins
N/A > - c:\program files (x86)\microsoft office\office15\addins\powerpivot excel add-in\powerpivotexcelclientaddin.dll`

DAX-query issue

I would like to export raw data from table in PP using such DAX-query:

EVALUATE

SELECTCOLUMNS(
TOPNSKIP(2300000, 0, traffic),
"date", [date],
"deviceCategory", [deviceCategory],
"landing", [landing],
"language2", [language2],
"newUsers", [newUsers],
"sessions", [sessions],
"source", [source],
"traffic_type", [traffic_type]
)

I have no problems up to 2M rows. After that I get such error:

11/15/2017 19:05:07 The server sent an unrecognizable response.

How can I export raw data to .CSV if table in PP has big volume (millions of rows)?

Error with Linked excel output

When select static output it works fine, but linked input created a connectionstring that does not include the cubename. If i add" Cube=[Cubename];" it works

Cannot enable add-in: runtime error

From @prostas on May 16, 2017 9:23

I have some issues enabling DAX Studio add-in. When trying to enable it nothing happens, and when trying to re-do, then it results in the following error (I am using Excel 64 bit version 2013):

Image

Copied from original issue: DaxStudio/DaxStudio.github.io#1

Problems with specifying a security role while connecting to a Power BI model

I've tried to use DaxStudio in order to connect to a Power BI Model.
The "Roles" option in the "Connect" form in inactive.
image

I can insert a role by:

  1. Choosing the "Tabular Server" Data Source option.
  2. Speciping a Role.
  3. Connecting to the Power BI model.

image

image

The queries seems to take into account the security role (as does the tables in the Metadata panel), but the traces option is grayed out.

image

If some traces windows were opened beforehand, the following message appears : "You must have Admin rights on the server to enable traces".

image

image

Problems connecting to SSAS Tabular 2016

Hi,
I'am struggeling with connecting the latest version of DAX Studio to my workspace SSAS Tabular database. It seems as if DAX Studio has problems rendering the Metadata-Pane.

Translated error message: "An element with the same key already has been added"

I attached the log file and a screenshot with the translation of the german parts in the log-file:

DaxStudio-20171113.log
screenshot log file

It seem as if DAX Studio tries to connect to the same database twice. I have no clue how to resolve this.

Any ideas?

Thanks and regards from germany

Uwe

DAX STUDIO AZURE CONNECTION ISSUE

Hello,

I am trying to connect to AAS model from DAX studio but after entering the server name , DAX Studio is not giving me option to enter username and password for Azure connection.

My colleague is getting the option for entering the username and password for Azure connection.

It's showing me as connected but I am not able to see anything in the Metadata in DAX studio.

Please help me I needed this badly.

Thanks,
RY

Unable to install DAX Studio 2.7.1

Hi,
when I try to install DAX Studio 2.7.1 on my Win10 machine I get the following error:
"Unable to execute file in the temporary directory. Setup aborted.
Error 5: Access denied."

I do have admin rights though.
Am I doing something wrong? Never had this issue before.
Kind regards
Christian

Output to Excel Missing

I am using 2.7.1. I notice that Output to Excel options are not available (when connecting to Power BI Desktop anyway). Is that a design change or a bug? There is a section for All, Standard and Excel, but there is nothing under Excel

Cannot connect to Azure Analysis Service

Hi,

I saw an exactly same issue reported below, but could not find a proper solution there.
I tried whatever that was recommended in the report, but they didn't help me.

When I'm trying to connect to Analysis Service, it pops me an error as below.
image
image

According to the log, it tells me the input string was not in a correct format.

2017-11-06 11:47:01.639 +08:00 [Error] "ConnectionDialogViewModel" "Connect" Error Connecting using: "Data Source=asazure://northeurope.asazure.windows.net/dbname;MDX Compatibility=3;;;Application Name=DAX Studio (SSAS) - 488f5715-1f73-4097-b637-487ecd19d976" Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException: The connection string is not valid. ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at Microsoft.AnalysisServices.AdomdClient.XmlaClient.GetInstancePort(ConnectionInfo connectionInfo) --- End of inner exception stack trace --- at Microsoft.AnalysisServices.AdomdClient.XmlaClient.OpenConnection(ConnectionInfo connectionInfo, Boolean& isSessionTokenNeeded) at Microsoft.AnalysisServices.AdomdClient.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession) at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Connect(Boolean toIXMLA) at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ConnectToXMLA(Boolean createSession, Boolean isHTTP) at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.Open() at ADOTabular.ADOTabularConnection.Open() at DaxStudio.UI.ViewModels.ConnectionDialogViewModel.Connect()

Please tell me if i'm doing anything wrong.

Add-In menu not enabled

This is my first attempt to use DaxStudio. The add-in menu is not showing either on the Excel or Power Pivot ribbon, but not exactly sure what to look for to check the add-in is enabled.

Also, I have a failed AMO check below, but the installer did not offer to download or warned of any additional dependency.

Checking Operating System

OSCaption = Microsoft Windows 10 Enterprise
OSVersion = 10.0.14393
OSArchitecture = 64-bit
VisibleMemoryGB = 11.43
FreeMemoryGB = 1.68

Culture Name = en-US
Culture DisplayName = English (United States)
Culture EnglishName = English (United States)
Culture 2-Letter ISO Name = en
Culture DecimalSeparator = .
Culture GroupSeparator = ,
Culture CurrencySymbol = $
Culture ShortDatePattern = M/d/yyyy
Checking .Net Framework

v2.0.50727 -> 2.0.50727.4927
v2.0.50727\1033 -> 2.0.50727.4927
v3.0 -> 3.0.30729.4926
v3.0\Setup -> 3.0.30729.4926
v3.0\Setup\1033 -> 3.0.30729.4926
v3.0\Setup\Windows Communication Foundation -> 3.0.4506.4926
v3.0\Setup\Windows Presentation Foundation -> 3.0.6920.4902
v3.5 -> 3.5.30729.4926
v3.5\1033 -> 3.5.30729.4926
v4\Client -> 4.6.01586
v4\Client\1033 -> 4.6.01586
v4\Full -> 4.6.01586
v4\Full\1033 -> 4.6.01586
v4.0\Client -> 4.0.0.0

Checking AMO

FAIL > Could not load file or assembly 'Microsoft.AnalysisServices, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
PASS > Microsoft.AnalysisServices, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
WARN > Could not load file or assembly 'Microsoft.AnalysisServices, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Checking ADOMD.NET

PASS > Microsoft.AnalysisServices.AdomdClient, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
PASS > Microsoft.AnalysisServices.AdomdClient, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
WARN > Could not load file or assembly 'Microsoft.AnalysisServices.AdomdClient, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Dax Studio Configuration

Path: "C:\Program Files\DAX Studio\DaxStudio.exe"
Processing DaxStudio.exe.config file...
Path: 'C:\Program Files\DAX Studio\DaxStudio.exe.config'
Bindings Found: 9
AMO : 13.0.0.0
ADOMD : 13.0.0.0

Checking Excel Add-in

Detected Excel Version: 16 - Excel_v16
Excel Path: C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE
Excel Architecture: x64

DAX Studio Excel Add-in Registry keys
Description: Dax Studio Excel Add-In
FriendlyName: Dax Studio Excel Add-In
Manifest: file:///C:/Program Files/DAX Studio/DaxStudio.vsto|vstolocal
LoadBehavior: 3

Checking for Excel 2010 Disabled Add-ins
PASS > No Disabled items found.
Checking for Excel 2013 Disabled Add-ins
PASS > No Disabled items found.
Checking for Excel 2016 Disabled Add-ins
PASS > No Disabled items found.

Attempting to load Excel Add-in:
PASS > Loaded Excel Add-in: DaxStudio, Version=2.7.1.99, Culture=neutral, PublicKeyToken=null

Checking VSTO Configuration
Architecture: x64
v4
Version 10.0.60301
Install 1
InstallerPath c:\Program Files\Common Files\Microsoft Shared\VSTO\10.0\VSTOInstaller.exe
v4M
VSTOMFeature_UNM 1
VSTOMFeature_CLR35 1
VSTOMFeature_CLR40 1
v4R
VSTORFeature_UNM 1
VSTORFeature_CLR35 1
VSTORFeature_CLR40 1
Version 10.0.50903
Revision 00
ProductCode {9495AEB4-AB97-39DE-8C42-806EEF75ECA7}

support connection to DAX Studio using public domain

DAX studio is a great product. It makes Excel DirectQuery many data sources possible.
We would like to provide a solution using DAX Studio as a BI Server to our customer. Analysts using excel can DirectQuery a data source through DAX studio and Power BI. Such solution will need DAX studio as a Remote BI server that analysts can access from Excel using the public domain. However, during our test and by examing the code, we found that DAX Studio only listens on localhost. So it is impossible to access remotely from public domain.

Is there any special reason for such design? Do you have a plan to support connection using public domain?

Honouring slicers

I believe it would be of great value for the beginners if DAX Studio was able to take into consideration existing slicers.

Switching off DAX studio inside excel

I would like to be able to switch on/off DAX studio from inside Excel due to the amount of addins I use. If I go to addins/com and click remove Excel informs me that DAX studio has been installed for all users and therefore only an admin can do this. I am admin. I suggest there should be a simple question for the installer to ask if the ser only wants it to install for the current user. My workaround is either to deinstall and reinstall DAX studio.

Config: Excel 2010 32 bit, plus powerpivot, Dax Studio v2.4.1 (I seem to remember later versions also have this issue when I tested them)

Dan

How many records can Dax Studio process

I am loading a 2.5 million records csv file into Excel PowerPivot model. I am selelcting a 2 million records plus subset in DAX Studio writing the output to a csv file but it does not work. I get messages "the server sent an unrecognizable response" and "Object reference not set to an instance of an object". Anyone an idea?

Install

I am unable to get DaxStudio 2.7.1 to install . When I get to the accept agreement screen, it wont let me click on I accept the agreement, to move continue.

I also tried scrolling to the bottom and it didnt work then either. I tried an earlier version as well with the same issue.

Any ideas?

Thanks

Function Argument Hints Do Not Stick

Function argument hints do not stick once the first argument is entered. The user does not have any idea about the function arguments once he/she starts typing in the arguments. The hints should stick like in Excel making it very easy to author a function. It's a very basic requirement in any IntelliSense. Hope it gets fixed in the next release.

Commented Code Disappears

When commenting code using the comment button on the ribbon, then hit the Format Query button on the ribbon, the commented code disappears.

If only DaxStudio could be more of a Magician and pull a rabbit out of it's hat to fix some of the reports I'm working on. ;)

Function Argument Hints Do Not Stick

From @xstodeepak on May 27, 2017 6:23

Function argument hints do not stick once the first argument is entered. The user does not have any idea about the function arguments once he/she starts typing in the arguments. The hints should stick like in Excel making it very easy to author a function. It's a very basic requirement in any IntelliSense. Hope it gets fixed in the next release.

Copied from original issue: DaxStudio/DaxStudio.github.io#2

One Issue and one item for wish list.

Cursor seems to disappear when we use the mouse to get around the window - not all the time but frequently enough for us to be an irritant.

Wish List:
Drag and Drop function - highlighting text and moving it to a different placement in the code.
Currently doesn't work - can highlight, but can't drag it to the position we want to move it to.

Quering does not work

Hi there!

Before I started using DAX Studio 2.7 I could use it in that way.
I started new DAX Query, then switched to another task. Query worked in background and when query was finished results appeared in Output window.

Now when I switch focus from DAX Studio to another app I experience an issue - DAX studio is freezing in some time and then generates errors:
10/24/2017 13:37:20 Error Connecting to server: The server sent an unrecognizable response.
10/24/2017 13:37:20 Cannot access a closed Stream.

Please, fix this.

DAX Studio cannot connect to Power BI

I was able to repro this issue on a notebook with SSAS Tabular 2016 SP1 installed (maybe it’s the same on other versions):

  1. The SSAS instance has no databases
  2. Open DAX Studio and connect to SSAS instance
  3. You see no databases – click on DMV tab
  4. You see no DMVs, which is strange but possible for other reasons..
  5. Now open Power BI without closing DAX Studio
  6. Connect DAX Studio to Power BI – you get an error and you are not able to connect anymore

The workaround is simple: close DAX Studio and restart.

Cannot call DaxStudio 2.7 from vba

Darren,
I am sorry I missed the beta testing period. It seems that there was a minor regression in the v2.7: it used to be possible to launch the Excel addin with the following vba code, but it now (v2.7) raises an error:

Dim addIn As COMAddIn
Dim automationObject As Object

Set addIn = Application.COMAddIns("DaxStudio.ExcelAddIn")
If Not addIn Is Nothing Then
    Set automationObject = addIn.Object
    automationObject.Launch
End If

Ref: this old thread on Dax Studio codeplex site

Regards,
Bertrand

Query Plan Tracing

The query plan tracing does not display any traces (Power Pivot Excel 2013). Both the physical query plan and the logical query plan are blank. However, the query plan trace does work when tracing from Power BI Desktop files.

Using version 2.7.1.

Cannot get the Separators to switch to ;

Hi
I have not been able to get the Switch Separators to work when I switch to "OTHER (a;b;c 1,23)".

It is still not possible to run queries with ; instead of ,.

I have a model started in VS 2017, and connects to that in Dax Studio 2.7.1
I have the following query in my model:

DISTINCT (
    SELECTCOLUMNS (
        FILTER (
            DimAccrual;
            DimAccrual[Computation Group] IN { "BANK"; "CERTIFIKAT"; "DIVERSE";"FAST_DIV";"KOSHER";"LEGAL";"TOLD" }
        );
        "Computation Group"; [Computation Group]
    )
)

When I puts this query in Dax Studio (have switched to Other in settings), I get the following error:
15-12-2017 09:59:17 Query (5, 23) The syntax for ';' is incorrect. (EVALUATE

15-12-2017 10:14:10		Query (5, 23) The syntax for ';' is incorrect. (EVALUATE
DISTINCT (
    SELECTCOLUMNS (
        FILTER (
            DimAccrual;
            DimAccrual[Computation Group] IN { "BANK"; "CERTIFIKAT"; "DIVERSE";"FAST_DIV";"KOSHER";"LEGAL";"TOLD" }
        );
        "Computation Group"; [Computation Group]
    )
)).

Information need - Is there a License agreement/declaration for DAX Studio

My company sees value in adopting DAX Studio to support build and execution of DAX Queries on Analysis Services Tabular data sources. I can't seem to find any declaration of DAX Studio's usage agreement, so that my company can understand that it is allowed to use this software. Can someone direct me to that verbiage?

Thanks,
Tom in Indy

New 2.7.1 Version crashes while connecting to Power BI Desktop Model

Error Screenshot

image
image

Checking Operating System

OSCaption = Microsoft Windows 10 Enterprise
OSVersion = 10.0.16299
OSArchitecture = 64-bit
VisibleMemoryGB = 15.88
FreeMemoryGB = 9.77

Culture Name = en-IN
Culture DisplayName = English (India)
Culture EnglishName = English (India)
Culture 2-Letter ISO Name = en
Culture DecimalSeparator = .
Culture GroupSeparator = ,
Culture CurrencySymbol = ₹
Culture ShortDatePattern = d-M-yyyy
Checking .Net Framework

v2.0.50727 -> 2.0.50727.4927
v2.0.50727\1033 -> 2.0.50727.4927
v3.0 -> 3.0.30729.4926
v3.0\Setup -> 3.0.30729.4926
v3.0\Setup\1033 -> 3.0.30729.4926
v3.0\Setup\Windows Communication Foundation -> 3.0.4506.4926
v3.0\Setup\Windows Presentation Foundation -> 3.0.6920.4902
v3.5 -> 3.5.30729.4926
v3.5\1033 -> 3.5.30729.4926
v4\Client -> 4.7.02556
v4\Client\1033 -> 4.7.02556
v4\Full -> 4.7.02556
v4\Full\1033 -> 4.7.02556
v4.0\Client -> 4.0.0.0

Checking AMO

PASS > Microsoft.AnalysisServices, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
PASS > Microsoft.AnalysisServices, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
WARN > Could not load file or assembly 'Microsoft.AnalysisServices, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Checking ADOMD.NET

PASS > Microsoft.AnalysisServices.AdomdClient, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
WARN > Could not load file or assembly 'Microsoft.AnalysisServices.AdomdClient, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
WARN > Could not load file or assembly 'Microsoft.AnalysisServices.AdomdClient, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Dax Studio Configuration

Dax Studio registry key not found.

Checking Excel Add-in

Detected Excel Version: 16 - Excel_v16
Excel Path: C:\Program Files (x86)\Microsoft Office\Root\Office16\EXCEL.EXE
Excel Architecture: x86

DAX Studio Excel Add-in Registry keys
Description: Dax Studio Excel Add-In
FriendlyName: Dax Studio Excel Add-In
Manifest: file:///C:/Program Files/DAX Studio/DaxStudio.vsto|vstolocal
LoadBehavior: 3

Checking for Excel 2010 Disabled Add-ins
PASS > No Disabled items found.
Checking for Excel 2013 Disabled Add-ins
PASS > No Disabled items found.
Checking for Excel 2016 Disabled Add-ins
N/A > - \10.116.26.48\dupontcc\concur\amit\script.xl
N/A > - c:\program files\common files\microsoft shared\team foundation server\15.0\x86\tfsofficeadd-in.dll

DAX studio button in Excel does not start DAX studio

Config: v2.7 Excel 2013 64 bit the Daxstudio button in excel has no effect. see issue #15 end of trail: dgsbell asked me to run Excel with logging enabled:

dgsbell wrote: "If you close all your Excel windows, then hold down left-shift while Excel starts up the add-in should start up with diagnostic logging enabled. If you can then click on the Excel add-in button to try to launch the DAX Studio UI hopefully the logs will capture some information about what is causing the issue here. If you then close Excel and paste the following path into a Windows Explorer window %AppData%\DaxStudio\Log you should see a file called DaxStudioExcel-yyyymmdd.log where the yyyymmdd reflects today's date. If you can attach that file to this issue we can have a look through it."

I decided to simply upgrade to Office 2016 Pro Plus. Installed v2.7 and got exactly the same issue.
New Config: Office 2016 Pro Plus 64 bit, German location, English language Full Retail

The DAXstudio button doesn't work. The log file from starting Excel with Left shift pressed is attached.

DaxStudioExcel-20171008.log

also the StudioChecker output is attached.

DaxStudioChecker.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.