Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Cannot sort Table Visual using indexed column and custom sort

I made the table above (via Enter Data), named ReferenceTable, that connects ReferenceTable[Status] to DataTable[Status]. Want to sort my visual table in order prescribed in the above image.

 

DataTable

 

I selected Sort By Column using DataTable[Status]. However, when I looked at visuals the order is unaffected (see image below).

 

Any ideas?

 

2 Replies

  • PaulDBrown's avatar
    PaulDBrown
    Community Champion

    If you have a dimension table (as you have) for Status, and there is a single one-to-many relationship between the ReferenceTable[Status] and the DataTable[Status], you don't need the DataTable[RankLookup] field.

    All you need to do is sort the ReferenceTable[Status] column by the ReferenceTable[Rank] column in the table view. Next create your visual using the ReferenceTable[Status] column and the measure