Charting

Charting

Group By Filter for Dashboards

Contributor

Hi Folks,

Is there a way to add a 'Weekly' 'Monthly', or 'Quarterly' filter to a dashboard that would aggregate best modes accordingly (when written dynamically) within charts by those groups against a date field?

The equivalent of the graph by feature in the analyzer:

I want someone to be able to select weekly and see an aggregation of a count by each week.

Kind regards,

Welcome!

It looks like you're new here. Members get access to exclusive content, events, rewards, and more. Sign in or register to get started.
Sign In

Best Answer

  • Coach
    Answer ✓

    @NateBI Yes, you can use the "Choose Date" drop down on the top right corner of the dashboard to change the date range and groupings. As long as your cards are grouped by a date dimension and the "Hide Date Range" box is unchecked in analyzer, the "Graph by" setting will apply to those cards.

Answers

  • Coach
    Answer ✓

    @NateBI Yes, you can use the "Choose Date" drop down on the top right corner of the dashboard to change the date range and groupings. As long as your cards are grouped by a date dimension and the "Hide Date Range" box is unchecked in analyzer, the "Graph by" setting will apply to those cards.

  • Contributor

    @MichelleH Sweet - any chance this can be linked to a filter visual instead?

  • Domo Employee
    edited April 2023

    You can change the dates based on presets… not sure if you can change the graph by options with a filter card though. Maybe a feature request?

  • @NateBI You would likely need to set up a variable control for this and replace the date dimension each card with this beast mode:

    1. case
    2. when `Date Grouping (Var)` = 'Week' then concat(date_format(`Date`,'%m/%d/%y'))
    3. when `Date Grouping (Var)` = 'Month' then concat(date_format(`Date`,'%M %Y'))
    4. end
  • Contributor

    @MichelleH very interesting thanks!

Welcome!

It looks like you're new here. Members get access to exclusive content, events, rewards, and more. Sign in or register to get started.
Sign In