While adjusting the period filter in the Dashboard, changes were reflected across all Data Visualizers. However, there was a need to preserve the original duration for certain Data Visualizers, without being affected by the filter adjustment.
Welcome back to the DHIS2 Community!
You are right the filter has a global effect on the Dashboard items. If you filter the period, it will apply the filter for all the items. One way to work around this is to create favorites specifically for this type of dashboard where you have the favorites already set to the filtered period and the other ones with the original period.
If the above suggestion doesn’t work, could you explain further the use case and why locking certain items in a dashboard to not be affected by the filter is important for this use case. If so, we can create a community feature request. (see ideas!)
Thank you Addin for your reply,
Creating separate static and dynamic dashboards could indeed pose challenges for both users and administrators, as it would require monitoring and managing two separate dashboards. This approach may not align well with the streamlined solutions offered by other dashboard providers.
Our business requirement is to view static and dynamic Visualiser in a single dashboard instead of multiple dashboards.
We have a dashboard with say 3 visualizations as cumulative data (from 2019-2024), today’s data and yesterday’s data, I want to use the filter in the dashboard level in a way that when I change the period filter to last 12 months the visualization to cumulative changes to last 12 months leaving today and yesterday data as it is unchanged. Is it possible? Or any alternate ways to achieve this?
How can I ensure that certain visualizations remain unaffected by applied filters, while others adapt to the changes introduced by the filters?
Hi @Rohit17
If the visualizations are all in the same dashboard then the filter must affect all the items. It’s not possible to filter only specific items. Could you share more about the use case and why it’s necessary to filter only specific items in a dashboard?
Thanks!
In my visualizations, I have single-value representations that display counts for today and yesterday in my analysis or dataset. These counts should remain fixed and unchanged by any filters applied. They serve as constant indicators of today’s and yesterday’s data, but filtering changes the data or count.
Hi @Shubham , @Rohit17 , @kandarpjoshi
I have merged all your posts because they are similar. You’re all requesting that the filter doesn’t affect ever visualization on the dashboard and that the user is able to select certain visualization not to be affected…
Dear @Gassim,
We can see the issue got merged but still we are unable to figure out the issue, Could you please help us in resolving the concern related to the Dashboard filter option which was highlighted by @Rohit17
Currently this is the default and expected way for dashboard filters to be used. Please see my explanation in the post above.
Thank you!