Viewing Date as a tree structure in the Filter

Hello Guys,
I want to add a Date filter to a dashboard. This filter needs to be as a tree strucutre with hierarchical data.
(Year->Quarter->Month)
How to implement this?
I know of a work around using 3 seperate filter to achieve the same functionality. but would be interested to know other approach as well.
Regards,
Rohil
Comments
-
I did something like this by aggregating the data in dataset. What I mean is appending the aggregation of Monthly data with aggregation of Quarterly and then with Yearly.
For example:
Select Date , sum(Revenue) as Revenue, 'Month' as Granularity
union
Select Date , sum(Revenue) as Revenue, 'Quarter' as Granularity
union
Select Date , sum(Revenue) as Revenue, 'Year' as Granularity
Then use the Granularity field as your filter
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'0 -
Thanks for your reply.
i want the filter to look like. This should be a collapsible tree.
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 666 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 873 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 145 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive