How to hide columns in table chart using a condition


I defined an ETL that uses PIVOT then created a card using table chart type, I want to be able to hide some columns from the PIVOT because after applying some filters those columns could have all values in null.

I found a chart property named "hide columns" that says it's possible to define columns and conditions but I couldn't find an example to see how to use it.