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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

In report. Order Days of week in spanish

Hello Community.

 

I have been gathering information from a facebook page. I live in Perú so the data facebook provides is in spanish, as is my Power BI Deskptop. When I make a new column extracting the day of the week from a Date column, the days appear in spanish.  The problem occurs when I make a report with those extracted days, I cannot order them chronologically since that column stopped being a Date column and is a Text column now. In the report I can only order that field alphabetically wich looks kinda wierd. Really need to order them chronologically.

 

I tried changing the regional setting so everything would be english (I don't really mind the days appearing in english) but when I do this I get many errors from other columns and tables too.

 

Thanks in advance.

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@Anonymous

 

In Query Editor you can follow these steps:

 

Sort.gif

 




Lima - Peru

View solution in original post

3 REPLIES 3
Vvelarde
Community Champion
Community Champion

@Anonymous

 

In Query Editor you can follow these steps:

 

Sort.gif

 




Lima - Peru
Anonymous
Not applicable

Thank you! it works like a charm.

Greg_Deckler
Super User
Super User

Create a column using the formula:

 

WeekDaySort = WEEKDAY([Date])

Set the Sort By for your text day of the week to this column.

 

 


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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