Reputation: 35557
If I execute the following MDX
script
SELECT
FROM [CubeName]
It returns an answer giving the total of all the members in for the default measure.
Can I write an MDX
statement that tells me what the default measure is or is it not possible to query meta-data with MDX
?
Upvotes: 1
Views: 415
Reputation: 1551
Try this
WITH MEMBER [Measures].[DefaultMemberName] AS [Measures].DefaultMember.Member_Name
SELECT
[Measures].[DefaultMemberName] ON 0
FROM [YourCube]
Upvotes: 3