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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Help!! order of days in a graphic!

Hi everyone!, i have a problem, im traying to order the days in thie graphic below, but for some reason i cant. 

The colum day have a function to order like show in the picture below, and is order by the other column called "NombreDia". Im traing to do in the reverse order but nothing works. 

Please if u can help me i aprecciate.

 

day tab.PNGorden fecha.PNGorden.PNG

5 REPLIES 5
Anonymous
Not applicable

Gracias a todos por su disponibilidad en responder!

El problema se encontraba en que la Dimensión de tiempo no fue creada desde el editor de consultas si no como "Nueva Tabla" en el escenario de Power BI. Esto limita a poder ordenar los días de forma correcta, o a poder hacer formulas o modificar el codigo M, para sacar un buen resultado.

Mil disculpas a todos y gracias por su tiempo!

MFelix
Super User
Super User

hi @Anonymous ,

 

Select the column and go to column options and select the order by select then the column Dia and your charts will be adjusted.

 

sort.png

 

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

I already tried this but it doesen't work

 
 
 
 

Hi @Anonymous ,

Please try this:

= Date.DayOfWeek([Date], Day.Monday)

1.gif

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @Anonymous 

 

You also need to change the sorting order in the visual:

 

sorting.png

 

Regards,
Vivek

If it helps, please mark it as a solution

Kudos would be a cherry on the top 🙂

https://www.vivran.in/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.