You need to use [Hotels].[Hotel Country].CurrentMember.Uniquename
Without the .Currentmember you are just returning the uniquename of the [Hotel Country] hierarchy.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi everyone, I'm trying to solve the following issue: I'm getting the data from Analysis Service server, at some point I need to get not only MEMBER CAPTION, but also MEMBER.UNIQUENAME.
I tried to do this whit the Calculated Member inside query constructor, but failed, see the screenshot at the link https://prnt.sc/11vle9o
Please advise what am I doing wrong?
You need to use [Hotels].[Hotel Country].CurrentMember.Uniquename
Without the .Currentmember you are just returning the uniquename of the [Hotel Country] hierarchy.
Thank you very much, this works great.
But I got new problem. As this is a measure, it returns all the names even those without the "real measure" value , is there a way to filter them by another measure, [Busy places] for example?
You could do something like the following to check if [Busy places] measure has a value.
IIF( NOT( ISEMTPY([Measures].[Busy places] ) ) , [Hotels].[Hotel Country].CurrentMember.Uniquename )