I\'m struggling to see how I would represent the following type of postgres SQL query in a cube.js schema:
SELECT CASE WHEN COUNT(tpp.net_total_amount) > 0