LalaGabor removed a comment on issue #13792: URL: https://github.com/apache/superset/issues/13792#issuecomment-945517072
Hi lctdulac, I am not sure if this solves your issue, but I was able to sort by custom using a calculated column with a CASE function. For each CASE WHEN "" THEN "" condition you want to precede your THEN "" entry with a decreasing number of spaces. For example: CASE WHEN month_column = "January" THEN " January" _(3 spaces)_ WHEN month_column = "February" THEN " February _(2psaces)_ WHEN month_column = "March" THEN " March" _(1psace)_ ELSE month_column END Finally, on the CUSTOMIZE tab you can tick SORT BARS (which sorts by alphabetical, I believe) As Superset is not showing the initial spaces, at least for me, you should not have formatting issues -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
