Hello,
I am trying to create a sample dashboard for outbreak status ('yes' or 'no') within the Personal Care Homes (PCHs). Sample scenario is: There are in total 13 PCHs that have reported outbreak so far via Survey123 but out of these 13 PCHs 2 of them have recently closed their status on outbreak (by choosing 'no' through Survey123).
I would like to add a table widget in the dashboard that will include all PCHs currently in outbreak. The current table widget setting shows a list of all PCHs (13) that have reported outbreak so far which also includes the one that are no longer in outbreak (2 PCHs). Is there a way I can remove those 2 PCHs from the table widget? These 2 PCHs may need to be included again if in future they declare any outbreak.
I tried a lot of ways: using filters and advanced formatting - but no luck. Even if I use filter, it does not change anything since for the PCHs which are now not in outbreak were once declared with outbreak and those records are still stored in the feature layer which could not be filtered out based on the second screenshot below.
I spent lots of time figuring this out. Any assistance/modification/idea would be of great help to me.
Hello,
I just tried another solution by writing an expression to the table widget but unfortunately this does not work as well.
Here is the expression I tried: