I want to add a Date filter to a dashboard. This filter needs to be as a tree strucutre with hierarchical data.
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.
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.
Select Date , sum(Revenue) as Revenue, 'Month' as Granularity
Select Date , sum(Revenue) as Revenue, 'Quarter' as Granularity
Select Date , sum(Revenue) as Revenue, 'Year' as Granularity
Then use the Granularity field as your filter