cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Databricks dashboard removing order, incorrectly sorted.

Mr__E
Contributor II

I created a table that aggregates data by year and week of year and display this in a chart over time. As part of the query, I order by the year, then week columns. In the visualization on the query (in the SQL editor), I disabled the sort, because it's wrong. I then click add to dashboard, but then it displays the auto-sorting the visualization uses instead of my ORDER BY. How do I fix this?

Edit: I switched to using year-month, because the to_date can't handle week-of-year. When I did that, then it gets the dates in the right order and it looks fine in the query visualization, but it's completely screwed up in the dashboard. See added files.

1 REPLY 1

Anonymous
Not applicable

Hi @Mr. E (Customer)​ , did you get a chance to check Kaniz's previous comments ? is this issue resolved or do you need any further help here ?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group