Forum Discussion

bernate's avatar
bernate
Helper III
4 years ago
Solved

Sort By Column Not Showing in Data Mart

Hello all, 

 

I'm trying to set up a date table in my data mart and I'm running into the classic issue of months being ordered alphabetically. In Desktop I would go to Column tools > Sort by Column to sort the month name column by the month number column. However, it seems that data mart is missing this option from the ribbon.

I went into Transform data in case the Sort function might have moved there but again, there's no Column tools and I can only sort by ascending or descending.

 

Does anyone have a work-around for this? I've tried transforming the date column to month because I thought it would format the data to month name while retaining the original date data but it seems to just change the values to text which brings me back to the original issue of being ordered alphabetically.

 

  • Houndog's avatar
    Houndog
    3 years ago

    Yes! Open the 'Advanced' section of the 'Properties' blade on the right side of the modeling workspace.

     

9 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi bernate ,

     

    What version of Power BI Desktop you are using?

     

    Best Regards,

    Jay

    • bernate's avatar
      bernate
      Helper III

      Hi Jay, I'm using 2.108.997.0 64-bit (August 2022). The issue isn't with Desktop though, it's with the Data Mart.

    • Houndog's avatar
      Houndog
      Frequent Visitor

      In the model panel? I just don't see it. Where is it hiding?

      • Anonymous's avatar
        Anonymous
        Not applicable

        First click the field you wish to sort then the properties pane will open as mentioned above.

  • Hello my friend,

     

    have you been able to solve the issue somehow? I got the same problem.

    • Houndog's avatar
      Houndog
      Frequent Visitor

      Yes! Open the 'Advanced' section of the 'Properties' blade on the right side of the modeling workspace.

       

      • Magnum_BI's avatar
        Magnum_BI
        Frequent Visitor

        Yes, this is how it's done... I was looking everywhere!!

        Thanks & well done Houndog