Hide Chart if less than two rows in query

Hi,

I want to only show a chart if my data view includes at least two rows as otherwise, the line chart does not make sense with only one value.

I added a dynamic attribute of hide to the chart and tried to enter the when condition as shown in the screenshot. Unfortunately, the chart is still shown when there are none or only one row in the data view. What did I do wrong?

Thank you very much. I appreciate your help.

Have a good weekend!

Community Page
Last updated: