-- Total Unique Cart Products
-- Total Unique products in deal_cartitem
-- FILTER: {
--   filter: "date",
--   column: "Send_Date",
--   params: {
--     "format": "m/d/y"
--   }
-- }
-- FILTER: {
--   filter: "class",
--   column: "products",
--   params: {
--     class: "text-right"
--   }
-- }
-- FILTER: {
--   filter: "class",
--   column: "products",
--   params: {
--     class: "prospect_products"
--   }
-- }

SELECT
    to_char(count(DISTINCT dc.product_id), '999,999,999,999') as products,
    to_char(count(DISTINCT dc.prospect_product_id), '999,999,999,999') as prospect_products
FROM simplebrsprod.deal_cartitem dc
WHERE dc.location_id = 5358688477118464

