Category / Section
How to add sort elements in OlapReport
1 min read
We can create Sort elements and add it to the OlapReport. The following report will illustrate the creation of Sort element:
C#
SortElement sortElement = new SortElement(AxisPosition.Categorical, SortOrder.ASC, true); sortElement.Element.UniqueName = "[Measures].[Internet Sales Amount]";
Figure: OlapGrid is sorted in Ascending order