cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CAmala
Frequent Visitor

Custom Order in every Legend

Hi everyone

I need your help, please.

 

In this table, columns Id_contable and IdCont_mes are set to Sort by secuencia.

CAmala_2-1674604073090.png

If I change month by Id_Contable the order is that I want it.

CAmala_0-1674604963295.png

But when I use the month column, the chart shows another Order. How can I order in Sep, Oct, Nov, Dec, Jan, Feb?

 

CAmala_2-1674605093085.png

 

Thanks

Camala

1 ACCEPTED SOLUTION
adudani
Responsive Resident
Responsive Resident

@CAmala ,

 

create a month sort column ( example:SWITCH (TABLE[MonthColumn], 1, Sept, 2, Oct , etc)   whatever sorting order you want)
in the data view, select the month column and use the "sort by column" to sort by this custom column.

 

for reference: (146) Power BI - Custom Sorting in 3 Easy Steps! - YouTube

 

here they sort using a table but you can sort using a new column as well.

 

Appreciate a thumbs up if this is helpful.

 

Please let me know if this resolves the question

 

 

View solution in original post

2 REPLIES 2
adudani
Responsive Resident
Responsive Resident

@CAmala ,

 

create a month sort column ( example:SWITCH (TABLE[MonthColumn], 1, Sept, 2, Oct , etc)   whatever sorting order you want)
in the data view, select the month column and use the "sort by column" to sort by this custom column.

 

for reference: (146) Power BI - Custom Sorting in 3 Easy Steps! - YouTube

 

here they sort using a table but you can sort using a new column as well.

 

Appreciate a thumbs up if this is helpful.

 

Please let me know if this resolves the question

 

 

Thank you @adudani it was so helpful

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.