Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
780
Date header sort
posted

Hello,

I have a issue with header order, can I order a DateTime field?

I'm using 14.1, but I tested in 15.1 and did not fix it.

Code:

dimMetadata = new DimensionMetadata();
dimMetadata.SourcePropertyName = "DT_FIELD";
dimMetadata.DisplayName = "Date";
dimMetadata.AggregatorType = AggregatorType.None;
dimMetadata.AutoGenerateField = false;
dimMetadata.DimensionType = DimensionType.Dimension;
cubeMetadata.DimensionSettings.Add(dimMetadata);

outputFlatDataSource.CubesSettings.Add(cubeMetadata);

Thanks,

Fernando

Parents Reply Children