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
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.

 

 


@ 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.