Replied 3 August 2017, 3:49 pm EST
Thank you for your question. Yes this is possible but requires making modifications to the schema. What you will need to do to achieve this is add a query field to your schema (using the SchemaBuilder) that will concatenate the two fields together using the expression "=Fields!ID.Value+Fields!Name.Value". The following C# code snippet demonstrates how to do this:
DataDynamics.Analysis.Core.Schema.SchemaBuilder.QueryField qField = new DataDynamics.Analysis.Core.Schema.SchemaBuilder.QueryField("Customer");
You would then need to create an attribute field that references this query field, the following code snippet demonstrates:
DataDynamics.Analysis.Core.Schema.SchemaBuilder.AttributeField myField = new DataDynamics.Analysis.Core.Schema.SchemaBuilder.AttributeField("Customer");
myField.SetKeyExpression("=Fields!Customer.Value"); //the expression here references the Customer query field
Next you would add this new attribute field to the appropriate attribute dimension in your schema. One thing I would like to point out is that this will need to be done when generating the schema either manually or after calling the AutoGenerate method (in which case the changes will need to be applied to the SchemaBuilder instance returned by the AutoGenerate method).
Please let me know if I can be of further assistance.