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

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 775052 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 12/23/2012 1:19:08 PM
Access Restriction Public


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').	
Sign in to post a comment.