Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

sorting by month (text)

ssas tabular model - I have a month column, which is a text datatype, and is based on a day column which is date datatype   I have a power bi report doing live connection to this model, when I try ...
  • Greg_Deckler's avatar
    4 years ago

    Anonymous Your calculation should be:

    =YEAR([xxx Day]) * 100 + MONTH([xxx Day])

     

    Set this as your Sort By column of your text month name.