Forum Discussion

ME_1976's avatar
ME_1976
Frequent Visitor
2 years ago
Solved

'Reset' Sort in Table View

Hi, hope someone can help.  I set out the data (see screen grab 1) and meant to select Month No to sort the data, however, I selected Month Name in error. I've tired to reset the data, deleted/re up...
  • Anonymous's avatar
    Anonymous
    2 years ago

    MONTH(<datetime>) use this to make month no from date column

  • Anonymous's avatar
    Anonymous
    2 years ago

    your month no is exceeding over 12

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi,

    Thanks for the solution Anonymous  and ryan_mayu  provided, and i want to offer some more information for user to refer to.

    hello ME_1976 , based on your description, you can refer to the following solution.

    Sample data 

    1.Create a table, then in new table, select the month column and select sort by month_no column

    Table 2 = SUMMARIZE('Table',[Month],"Months_No",SUM('Table'[Month No]))

    2.Crete a relationship between the tables

     

    Then in the visual you can use the monthname column of the new table.

    Best Regards!

    Yolo Zhu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.