Articles in this section
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

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied