Forum Discussion
New Month Order
I have a table with unique completion dates/time and I created calculated column to display on chart in format "mmm-yy" . I then created a month number column and sorted the formatted "mmm-yy" by month number. With new January 2021 data, now it is placing this first. How can I organize visuals so that it's in sequential (time order). Thank you.
13 Replies
- amitchandakSuper User
jcastr02 , You need to create a sort column
Month Year sort = FORMAT([Date],"yyyymm")
And Sort your column on this column
Refer this video - https://www.youtube.com/watch?v=KK1zu4MBb-c
- WatskySolution Sage
You can create a column with year and month and index base on that column.
Did my answer(s) help you? Give it a kudos by clicking the Thumbs Up! ?
Did my post answer your question(s)? Mark my post as a solution. This will help others find the solution. - parry2kSuper User
jcastr02 here is the code to add a column in the Power query
Date.ToText([Your Date column],"yyyy-MM"))Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- jcastr02Post Prodigy
- parry2kSuper User
jcastr02 yours is a date-time column, do this
Date.ToText(Date.From([Your Date/Time column]),"yyyy-MM"))Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- Syndicate_AdminAdministrator
@parry2k sorry for delay. Please look at NPS Trend page and two visuals "NPS By tenure" and NPS by Month
- Syndicate_AdminAdministrator
@parry2k I have attached the link above. Are you able to see what may be causing the issue. Appreciate your help.