I get an error when trying to use such logic in a chart, but in the test drive it works without problems.
$customHeader
Manage space
Manage content
Integrations