English 中文(简体)
In SSAS, can parent-child DATAMEMBER name be customised
原标题:
  • 时间:2009-11-25 13:35:02
  •  标签:
  • ssas
  • mdx

In a parent-child dimension in SSAS, the datamember is automatically named the same as the parent.

E.g.

  • Division X Risk Register
    • Division X Risk Register
    • Department A Risk Register
    • Department B Risk Register
  • Division Y Risk Register
    • Division Y Risk Register
    • Department P Risk Register
    • Department Q Risk Register

I want all the datamembers to be named "Executive Risk Register", as follows:

  • Division X Risk Register
    • Executive Risk Register
    • Department A Risk Register
    • Department B Risk Register
  • Division Y Risk Register
    • Executive Risk Register
    • Department P Risk Register
    • Department Q Risk Register

(b.t.w. if the the children also have children, their datamembers must also be "Executive Risk Register").

Can this be done by setting something on the dimension in SSAS or do I have to handle it separately in every MDX query?

问题回答

Have you looked at Changing the MembersWithDataCaption property in the Parent attribute to "Executive Risk Register"?





相关问题
In SSAS, can parent-child DATAMEMBER name be customised

In a parent-child dimension in SSAS, the datamember is automatically named the same as the parent. E.g. Division X Risk Register Division X Risk Register Department A Risk Register Department B ...

Adding a Total column to MDX

I have the following query that gives me an extract (I am putting this into a CSV from my cube). I want to show the Total of all NRx in a column as the first column NRx and the rest of the NRx ...

using colors in calculated member

Im using this query in MDX for a calculate measure topcount(nonempty([StatusPlanes].[Status].Status.members,[Measures].[Planes]),1)(0).member_caption this will bring me this result Dimension1 ...

Using colors with MDX calculated measure

I m using this query in MDX for a calculated measure topcount(nonempty([StatusPlanes].[Status].Status.members,[Measures].[Planes]),1)(0).member_caption This will bring me this result Dimension1 ...

Calculated Member for Cumulative Sum

First some background: I have the typical Date dimension (similar to the one in the Adventure Works cube) and an Account dimension. In my fact table I have daily transaction amounts for the accounts. ...

What is MDX and what is its use in SAP BPC

I would like to know more about "MDX" (Multidimensional Expressions). What is it? What is it used for? Why would you use it? Is it better than SQL? What is its use in SAP BPS (I haven t seen BPC, ...

热门标签