English 中文(简体)
MDX - Concatenate level s properties and level s members
原标题:

I an using mondrian and I have this issue: using a query mdx I need to concatenate in each member name belonging to a certain level, its name and a the value of a certain level properties for that member.

Something like CurrentMember.Name = CurrentMember.Name || CurrentMember.Properties("Prop").

Is this possible in some way?

Thanks. Matteo

问题回答

In MDX it should look like that

[Dimension].CurrentMember.Name + [Dimension].CurrentMember.Properties("YourProp")

The concatenation operator in MDX is + not ||





相关问题
How can I edit a mutable property in Objective C?

I am trying to edit a mutable array from a property and can t seem to directly make it work. Consider the following code that seems to work, but seems also very inefficient; I have to copy the whole ...

Implicit conversion from void to XmlDocument

Probably a stupid question, but I m quite new to the whole "get-and-set-property"-kind of programming; I keep getting a compiling-error on this part of my code; private string _File = "Session.xml"; ...

Property binding across controls in WPF

I have two UserControls that I want to display in a Window. The value of the property "SelectedItem" of the first UserControl should be set to the second UserControl s "SelectedItem" property. How do ...

@staticmethod with @property

I want Stats.singleton.twitter_count += 1 and I thought I could do class Stats: singleton_object = None @property @staticmethod def singleton(): if Stats.singleton_object: ...

热门标签