@kyle_liu it works for you in graphql with a product metafield?
FROM sales SHOW net_items_sold WHERE product.metafields.related_products.masterSKU IN (‘sku_1’, ‘sku_2’) AND customer_tags NOT CONTAINS ‘exclude-from-sales-analysis’
AND order_tags NOT CONTAINS ‘exclude-from-sales-analysis’ GROUP BY product_variant_sku WITH TOTALS, PERCENT_CHANGE SINCE 2026-02-02 UNTIL today COMPARE TO previous_year ORDER BY product_variant_sku ASC LIMIT 1000 VISUALIZE net_items_sold TYPE table
This looks to be the same underlying issue as another thread we’re already tracking, so I’m going to close this one and keep everything together over there:
Short version: it’s an unintentional side effect of a recent change to how third party apps are scoped when they query metafields, which is why your product metafield returns “not found” through shopifyqlQuery but still works in admin reporting. We’re working on a fix, and I’ll post updates in that thread as soon as I have them.