I have a very simple SSAS dimension which looks like this:
Dimension Name: DimKeyword
1 Attribute: Keyword with KeywordID as the KeyColumn and Keyword (name) as the NameColumn
Using MDX, I want to get one row with the Max MEMBER_KEY for the DimKeyword dimension (without listing all the Keywords), so far I have:
WITH MEMBER KeywordID as
[Dim Keyword].[Keyword].currentmember.MEMBER_KEY
SELECT {KeywordID} on COLUMNS
FROM [Some Cube]
Although this seems to only return 0 (which I assume is for the member ). Can anyone help?
Thanks!