Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

manually moving bar chart columns

Is there an option to manually move around the bar chart columns? The sort option is very limited and does not help at all align it the way I want. For instance i have a graph with categories 0-90, 9...
  • BhaveshPatel's avatar
    BhaveshPatel
    9 years ago

     

    Hi Ashish,

     

    To achieve your desired results in PowerBI, I have created a conditional column in Query Editor as shown in the screenshot, You can also create calculated column with IF Statement.

     

    This new conditional column will act as a sort order column for sort by column feature under the modelling tab.

    Select the correct data type (Whole Number) for this newly created column

    Select your Bar column and Go to Modelling Tab, Select sort by Column, Choose sort order column for sort by.

     

    Final results:

    Ta........Da.........