Hi! I am trying to aggregate line item quantities by distinct order id. I built a Beast Mode that was validated, but I continue to get the message, "An issue has occurred during processing. We are unable to complete the request at this time." I have changed the beast mode multiple times and continue to get the same response. My current beast mode is the most simple of numerous attempts:
(CASE
WHEN
COUNT(DISTINCT `order_id`)
THEN
COUNT(SUM(`line_items_quantity`))
ELSE 'NULL'
END)
I feel confident that I have my data stuck in a loop, but am not sure how to get a count of the sum of line items per order number. Any suggestions would be greatly appreciated!
Thank you!