Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我们设置维度 isAllMembersEnabled=false,如何指定默认成员值。
维度的样本数据是 [A,B,C,D,E],当我选择维度时,我想要的默认值是 C。
您可以在 mdx 上下文中指定它:
<mdxContext> <defaultMembers> <defaultMember dimensionName="name of your dimension"> <defaultValue>[name of the level of C].[C]</defaultValue> </defaultMember> </defaultMembers> </mdxContext>