Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


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

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.