Category / Section
How to sort the Measures in CubeDimension Browser
1 min read
We can able to sort the measures in the CubeDimension Browser by ascending or descending else we can turn off the sorting. This can be achieved using the “MeasureSortOrderInCubeBrowser” property of OlapClient.
Please refer the below code snippet to know how to use this property.
C#
public MainPage() { InitializeComponent(); this.DataContext = new ViewModel.ViewModel(); this.olapClient.MeasureSortOrderInCubeBrowser = Syncfusion.OlapSilverlight.Data.SortCubeMeasureOrder.DSC; }
Figure: CubeDimension Browser with sorted measures in descending order