If you have a query loop in Bricks builder that displays events or any post type, but you currently have no posts available to show on it, you can use the query_results_count dynamic data tag to show or hide relevant elements on your page layout.
![results count dynamic data bricks builder](https://gersonelias.au/wp-content/uploads/results-count.jpg)
The settings above will hide the selected element if the query loop returns zero results. Alternatively, you can use the => parameter to show elements if query result are greater than a specified number. Ensure you set the query loop id after the tag – like this (don’t forget to wrap the tag in curly brackets):
query_results_count:yourqueryloopid