Posted 3 August 2017, 3:54 pm ESTI get the following exception when doing the following code, which is virtually identical to supplied examples
Dictionary fields = new Dictionary();
foreach ( DataColumn col in m_SalesStats.ResultSet.Columns )
SchemaBuilder sb = SchemaBuilder.AutoGenerate("MySchema", fields); <<<<< Exception thrown here
DataDynamics.Analysis.Schema.AttributesDimBuilder attributesDimension = (DataDynamics.Analysis.Schema.AttributesDimBuilder)sb.Dimensions["Attributes"];
I have verified there are no duplicate fields in the underlying SQL. I have steped thorugh the loop numerous times as well and all fields are unique.
Also I am using a demo version of the Analysis tool for evaluation purposes.
Another question is do I require more dimensionms than just the attributes dimension, or can I just populate that dimension then let the use select what fields they want to put in other dimensions.