Forum Discussion

powerbihelp87's avatar
4 years ago
Solved

Sort in Matrix Visual

 

I am having issues sorting my data exactly like it is in this excel file. I even added a sort column to make it easier. I need the matrix to show the same exact sort order as the sort column.  I tried different ways but had no luck achieving this.  i added dummy data below along with a screen shot from Power BI.  There is basic table visual and then matrix visual.

 

CategoryBrandsub-brandsalesSORT
TelephoneGirlEE1001
TelephoneGirl level6542
TelephoneGirlMGR1653
TelephoneGirlEXEC 46544
TelephoneGirlEXEC545
TelephoneGirlblue236
TelephoneColorEE87487
TelephoneColorPLANT4168
TelephoneColorMGR659
TelephoneColorVP9810
TelephoneColorSENIOR92611
TelephoneColorEXEC1412
TelephoneColorblue654613
TelephoneTurnCompany46514
TelephoneTurnABOVE415
TelephonefemaleCompany2165116
TelephonefemaleABOVE6417
Telephoneturn colorCompany99618
Telephoneturn colorABOVE9319
TelephonescoreMIX6920
TelephonescoreFemale4521
TelephonescorePOC2122
Telephonescorefront-323
OutreachFondantMetrics-2724
OutreachFondantComments-5125
Business SPEND-7526
 

 

8 Replies

  • hey, 

    if you go directly to the table not the visual, you can dort the columns using a reference the sort column for the whole dataset, so when you get that data on the visual it will sorted, 

    if not also you can try to put the sort column a value field and in the options section of the visual you can sort the visual by that field values

    • powerbihelp87's avatar
      powerbihelp87
      Helper V

      Thank you so much for the quick response!! The issue is that the Rows or table columns have duplicates which prevents Power BI to Sort By

       

      • StefanoGrimaldi's avatar
        StefanoGrimaldi
        Resident Rockstar

        create a custom column that concatenate the category,brand, sub brand, delite the index column or try using the index column for the sort reference, or the custom column also. try both and see wicth works for u