How to Hide Elements based off other empty Elements?

Hi

Could you paste your code?
Your data is connected to a dataset?