Forum Discussion

dineshkumar_vrv's avatar
8 years ago
Solved

sorting issue

I have sorted by Payment but still my Quantile column is not sorted accordingly to the sorted payment by ascending order why ? please suggestSame data but different tool has sorted correctly , I want to achieve this order in power bi

 

I have tried converting the data type of payments and quantile to fixed decimal , whole number but quantile column is still not in proper order as I displayed in the second figure. Please suggest

  • v-ljerr-msft's avatar
    v-ljerr-msft
    8 years ago

    Hi dineshkumar_vrv,

     

    Currently, only one column can be sorted with the sort option in Power BI. Here is an idea about adding a multiple columns sort feature. You can vote it up and add your comments there to improve Power BI on this feature.

     

    In addition, an alternative way to sort both payment column and Quantile column is using the formula(DAX) below to add a new calculate column in your table, then sort by the new created column. :smileyhappy:

    Column4 = Table2[payment]+Table2[Quantile]

    Regards

11 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi dineshkumar_vrv,

     

    As I can spot in your first image, it looks like the table is sorted on the payment column instead in the Quantile column.

    Can you click on the Quantile column to see if sorting works? 

     

    • dineshkumar_vrv's avatar
      dineshkumar_vrv
      Helper I

      I have tried sorting with quantile column before but the payment column's(52.74) is in the second place where as 52.74 should be in the first place rite ? I want both the columns to be sorted in ascending order

      • v-ljerr-msft's avatar
        v-ljerr-msft
        Microsoft Employee

        Hi dineshkumar_vrv,

         

        Currently, only one column can be sorted with the sort option in Power BI. Here is an idea about adding a multiple columns sort feature. You can vote it up and add your comments there to improve Power BI on this feature.

         

        In addition, an alternative way to sort both payment column and Quantile column is using the formula(DAX) below to add a new calculate column in your table, then sort by the new created column. :smileyhappy:

        Column4 = Table2[payment]+Table2[Quantile]

        Regards