Forum Discussion

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi AlmantasPBIguy ,

     

    Here I will give you two workarounds.

    1. Your issue should be caused by that you want to sort the same value in [Attribute] with different orders. Power BI doesn't support us to do this. We need to sort the unique key word with the order column. I suggest you to combine [Attribute] and [Category] column as a unique key column.

    Combine = COMBINEVALUES("-",'Table'[Attribute],'Table'[Category])

    2. You can turn off "Text wrap" in column headers and reduce the width of [Order] column in your visual.

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Try this ... to add an invisible sort column

    Turn off auto summarize on the order column,

    Then drag the Order column to the far right of your visual.
    Sort the visual by the Order column.
    Then in the visual format settings,

    click on Specific column,
    Appliy settings to Series = Order

    Apply to header = On

    apply to values = On

    text colour = white


     

    Thanks for the clear description of the problem with example data. I wish everyone did that!

     

    Remember we are unpaid volunteers. So please click the thumbs up and the accept as solution button to leave kudos. 

     

    If you give someone a fish then you only give them one meal, but if you teach them how to fish then they can feed themselves and teach others for a lifetime.  This is how I try answer Power BI and DAX questions with clear examples so your can learn techniques.

     

    One question per ticket please. If you need to extend your request then please raise a new ticket.

     

    You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you ! 

     

    If you quote @speedramos in your next tickers then I will then receive an automatic notification, and will be delighted to help you again.

     

    Please click the thumbs up and the accept as solution button. 

     

    • AlmantasPBIguy's avatar
      AlmantasPBIguy
      Frequent Visitor

      Hey, thank you for the reply. For the sake of brevety I used table as an example, but the original problem is with a clustered column chart. So this slick workaround will not work. Maybe there is a way to apply a similar solution?