Hello, Can we toggle Date filter on Visualization....
# gd-beginners
a
Hello, Can we toggle Date filter on Visualization. Like can we force Visual to display data based on Filter Date. e.g. In visual we have used CreatedDate, but if user want to see data based on UpdatedDate, so can we achieve this on same visual. Am trying this on Column chart where am putting CreatedDate on X Axis. So if user wants to filter on UpdatedDate, can we dynamically change X axis to pick UpdatedDate. Is this achievable ?
y
Hi Ankit, Thanks for sending this in, happy to help. GoodData does not currently support dynamically toggling the X-axis date dimension (e.g., switching between CreatedDate and UpdatedDate) within the same visualization based on a user-selected filter. The date dimension used on the X-axis (such as CreatedDate) is set when you build the visualization, and there is no built-in feature to let users switch this axis dynamically via a filter or dropdown at runtime.The recommended approach is to create separate visualizations for each date dimension (e.g., one for CreatedDate, one for UpdatedDate) and allow users to switch between them as needed. You can add multiple date filters to a dashboard or visualization, but each date filter must target a unique date dimension. However, this does not allow the user to switch the X-axis of a chart dynamically; it only allows filtering data by different date dimensions, not changing the grouping or breakdown axis itself Use Date Filter on Dashboards. If you add a date attribute (like CreatedDate) to the X-axis (View by/Trend by), changing the date dimension in the filter does not change the axis; it only filters the data. The axis remains as initially configured Create Visualizations. If this feature is critical for your use case, it will be submitted as product feedback to GoodData's product team for future consideration
a
Thanks @Yvonne Changamuka for your response.
p
🎉 New note created.