Forum Discussion

ravindrajal's avatar
ravindrajal
Frequent Visitor
9 years ago

Sort by column based on another column for SSAS Tabular Source

Hi,

I want to sort the month name based on month number using SSAS tabular source in power bi. I can see that sort by option in modeling tab is disabled. Is there any other way to sort the column or am i missing any thing

9 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi ravindrajal,

     

    If you use import mode, it is possible to sort by column based on another column.

    If you use live mode, it is impossible to use this feature.

     

    Regards,

    Xiaoxin Sheng

    • Anonymous's avatar
      Anonymous
      Not applicable

      I wonder why they don't allow it. It's a sort order we are enforcing on the viz or report. It's not going to harm the underlying schema. I feel with these many restrictions when using SSAS makes people think that it is not self-service BI any more. Really like to know what is the rationale behind MS diableing most of the features in PBI with SSAS. ex. no data or data model view, no formatting, no calculated tables. MS are you listening ???

      • Anonymous's avatar
        Anonymous
        Not applicable

        *checks watch* No, they are not listening

    • nandhinielango's avatar
      nandhinielango
      Frequent Visitor

      Hi, 

       

      Is there any method to implement it in SSAS Live Connection

      • ravindrajal's avatar
        ravindrajal
        Frequent Visitor
        Hi I did it by sorting the columns in ssas data model and then used the columns in power bi. There is no direct sorting available in power bi for ssas data models
  • AmaruAnn's avatar
    AmaruAnn
    Regular Visitor

    Hi guys,

     

    I did sort by other column in SSAS in Date Table (Properties - [MonthName] sort by [MonthOfYear] ) and it also works in Power BI.

    The Key is having data ready in SSAS model and no customization in Power BI so users can't change data onlz visualize them. ;)

     

    • SynergyDWilkins's avatar
      SynergyDWilkins
      Regular Visitor

      Hi all, I'm experiencing a similar problem, but with a matrix visual. I have years in columns, but I want to show the most recent year first. I've tried sorting the data in the tabular model designer, but it's having no effect on the data in the visual.

       

      Is there a way to manage this?

    • vgunti's avatar
      vgunti
      Microsoft Employee

      Can I know how do we sort it by column in SSAS. I have the same issue. Thank you