Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Transpose axis values in chart

I want to create a chart from this data: Financial Year ending Projects under $20K Projects $21K - $50k Projects $51k - $100k Projects over $100k Total 30/06/2010 5 3 5 18 31 30/0...
  • d_gosbell's avatar
    d_gosbell
    7 years ago

    Column values are always sorted alphabetically by default. You can override this by setting a sort by column in the table designer. You could create a calculated column wth a switch statement to create a numeric ordering

     

    CategoryOrder =SWITCH( [Category]

    , "Projects under $20K", 1

    ,  Projects $21K - $50k, 2

    etc...

    )

     

    Then click on the [Category] column in the field list, switch to the "Modeling" tab on the ribbon and click on the "Sort by Column" button and choose the new [CategoryOrder] column. 

     

    I also typically hide any ordering columns like this one as they are only needed for overriding the default alphabetical sorting.