When you connect to a geospatial data store in AutoCAD Map 3D toolset, you can filter the data you bring into your map. Use Add To Map With Query in the Data Connect window.
You can filter a single layer or multiple layers. You can filter the data by location, by data properties, and by conditions that you define.
The result of a filter expression must be a Boolean value.