First time poster, long time lurker.
I perform some GIS tasks as a background duty in my natural resources job.
I have collected data in survery123 for tree removals and plantings sites. The data is all displayed in the attribute table. Is there a way to keep the removals and plantings in the same layer but be able to make one or the other visible? Or is my only option to make two separate layers?
If you want your data to remain in the attribute table but not visible in your map, you can accomplish this (without duplicating your data classes) with “unique values” in the symbology settings. For the unique data you want visible, simply choose the symbology of your choice; for the rest of the unique data, setup the symbology with something not visible or do not include/remove it completely from the symbology class.
Remember, if you choose this symbology option (as opposed to a definition query which would remove data from your attribute table), although your data will not be visible on the map, the data will still be editable.
Here’s some documentation from ESRI on setting up the symbology. Hope this helps.
It's possible to create a definition query for the layer which allows you to to define a subset of features to work with in a layer by filtering which features are retrieved from the dataset by the layer.
Filter features with definition queries: https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/definition-query.htm
Essentially, it is certainly possible to leave all your records in the same single layer but only display some of them.