cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Raj2410
Helper I
Helper I

Name of Month in Slicer is not in right order.

Hi Image 1 is my Power query screenshot.

The Month is taken as text and if I change it to Date the complete data shows error.

So I have to keep it as text in Query.

But I want to keep my output in the Power BI model view to show Months in chronological order as - Jan, Feb , Mar...and so on.

My SLicer -Image 2 below and my Visual - image 3 below shows the data in WRONG order Please suggest a fix.

ALSO showing image -4 the ideal visual that I want.

 

 

Power Query-iMAGE 1

Raj2410_0-1679669698035.png

 

 

My Slicer- IMAGE 2

Raj2410_1-1679669717747.png

 

My visual- IMAGE 3

Raj2410_2-1679669960850.png

The visual that I want... ( IMAGE -4)

 

 

Raj2410_3-1679669986610.png

 

 

1 ACCEPTED SOLUTION
Arul
Super User
Super User

@Raj2410 ,

follow the below steps,

1. Click the month name column.

2. At the top you can see sort by column option click the dropdown.

Arul_0-1679670721403.png

3. Now sort this column with month numbers in your table the column name is Due Month.Due Month - Copy. Now the month numbers will be sorted chronologically.

Refer these link - https://databear.com/power-bi-tips-sort-by-month-name/
https://www.sqlshack.com/how-to-sort-months-chronologically-in-power-bi/

Thanks,

Arul

 

If I answered your question then mark my post as a solution and a kudo would be appreciated.

View solution in original post

1 REPLY 1
Arul
Super User
Super User

@Raj2410 ,

follow the below steps,

1. Click the month name column.

2. At the top you can see sort by column option click the dropdown.

Arul_0-1679670721403.png

3. Now sort this column with month numbers in your table the column name is Due Month.Due Month - Copy. Now the month numbers will be sorted chronologically.

Refer these link - https://databear.com/power-bi-tips-sort-by-month-name/
https://www.sqlshack.com/how-to-sort-months-chronologically-in-power-bi/

Thanks,

Arul

 

If I answered your question then mark my post as a solution and a kudo would be appreciated.

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors