I am trying to force a US date format (MM/DD/YYYY) for some Explores and dashboards. However, every standard method I try seems to break another critical feature:
-
Using the
htmlparameter: The dates look perfect in the Looker UI, but when users download the data as a CSV, Looker ignores the HTML formatting and dumps the raw database format (YYYY-MM-DD). -
Converting to a String via SQL: If I use
type: stringand format it in SQL (e.g.,MM/DD/YYYY), the CSV downloads perfectly. However, this completely breaks native date filtering (no more calendar pickers or “past 30 days” options) and breaks sorting (it sorts alphabetically, so01/01/2027incorrectly comes before12/31/2026).
Is there a standard Looker design pattern or best practice to get clean US date formats in raw downloads without breaking dashboard filters or table sorting?