Skip to main content
Guide
August 12, 2026
Question

Dynamic Member (from dynamic dimension) defined as "Is attribute member" ?

  • August 12, 2026
  • 1 reply
  • 16 views

Dear community,

 

I have tried ridiculous ways to define a dynamic member as an “attribute member”, but it always fail.

I am refering to activating these configurations as shown below : 

 

The documentation does not mention this configuration for dynamic members, so I was wondering if someone tried this, or if it is even possible ?

 

Regards,

1 reply

SergeyGuideAuthor
Guide
August 12, 2026

The issue was related to assigning the attribute to members that were blank. When a member has no name it was not created, but it still tried to assign an attribute to it.

For the record, here’s the basic way to define these attributes (with dm being the dynamicMember created) in C# :

UDVMProperties p = dm.VaryingMemberProperties.GetUDProperties();
p.IsAttributeMember.SetStoredValue(true);
p.AttributeMemberSourceMember.SetStoredValue("MemberInThisUDWhereDataIsCurrentlyStored");
p.AttributeMemberExpressionType.SetStoredValue(/* expression type id */);
p.AttributeMemberRelatedDimType1.SetStoredValue(DimType.UD2.Id);
p.AttributeMemberPropType1.SetStoredValue(/* property type id */);
p.AttributeMemberComparisonText1.SetStoredValue("TextToCompareTo");
p.AttributeMemberOperatorType1.SetStoredValue(/* operator id */);