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
60
Default sort on FlatData
posted

My datasource is a flatdatasource that I get from a webservice.  I have provided a simplified version of my data object here as an example.

class Data { string EmployeeName; Address EmployeeAddress; int Sales; }

Now, when I try to sort by Address, I can add a hierarchy descriptor with different levels and sort in terms of City, State, etc.

However, I also want to be able to sort by EmployeeName (For example: Bob Smith, John Doe).  Is there a way to assign an expression to the EmployeeName dimension to sort by last name?