Search

DAXMD: Need more helpful error message if you try to put a DAX measure in the MDX script by furmangg

Closed
as Fixed Help for as Fixed

4
0
Sign in
to vote
Type: Bug
ID: 775052
Opened: 12/23/2012 1:19:08 PM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
CREATE SESSION MEASURE 'Date'[DAX Calc] = calculate(sum('Date'[Date.Key0]));

That returns the helpful error:

DAX calculations on session and global scopes are not supported for multidimensional models. Please contact your administrator for more information.

Trying to put a measure in the MDX script doesn’t get me that helpful error message. If I add the following to the MDX script:

CREATE MEASURE 'Date'[DAX Calc] = calculate(sum('Date'[Date.Key0]));

During deployment, I get this error:

Internal error: An unexpected error occurred (file 'xlmodel.cpp', line 202, function 'XLModel::Init').    
Details (expand)

Product Language

English

Version

private build - 11.0.9000.5

Category

Analysis Services

Operating System

Windows Server 2008 R2 Enterprise (SP1)

Operating System Language

US English

Steps to Reproduce

see above

Actual Results

see above

Expected Results

Attempting to deploy a MDX script with a DAX measure should provide that helpful error message.

Platform

X64

Virtualization

 
File Attachments
0 attachments
Sign in to post a comment.
Sign in to post a workaround.