Better date selectors on cards

DanClark
DanClark Member
edited June 2024 in Dashboard Ideas

I'm surprised that the date filters available on cards aren't as dynamic as the global date filter. For example, I'd really like to be able to have something like this on a card:

image.png

In comparison, the 'Date Selector' card only gives presets, and using the 'Range selector' is not the best when filtering specific dates!

image.png

Allowing my users to interact with dates more in an intuitive way through the actual UI of my dashboards feels like it would be a better user experience.

Tagged:
10
10 votes

Comments

  • This is exactly the card I'm looking for. The product team should add it ASAP.

  • @DanClark, @jperry2020

    We had to build a custom date range brick that offered both options that controlled a series of variables.

    image.png
  • Would you mind sharing how you achieved this? I'm very interested, as your solution seems to fit my client's needs perfectly. Thanks in advance!

  • Hey @oscarfromspain

    It's a few steps and if you use publication that adds a complexity.

    To summaries:

    • 4 date selection variable controls - bottom of dashboard page so users don't see it, all beast modes reference those
      • Current Dates (Start & End)
      • Comparison Dates (Stat & End)
    • Custom DDX Brick that contains bulk javascript code that controls those variables based on the inputs in the brick controls this reference a DOMO Webform, but also builds the the calendar selection.
      • DOMO Webform that contains ids of those variable controls mapped to some JS object that DDX brick references.

    Thanks

  • Hi @Steven_Rowe,

    We decided to do it similar but with variables as I do not have access to Domo Bricks, it's far from a good solution/implementation, but the client is happy.

    Thanks again for your time!