I would like to group by product_id, take the last date of each group and then the last date of the hole grouping set. You will find on the aggregation images 1 and 2 what I did. I could only group by product_id and take the take the last date of each bucket.
Hello, thank you for your response. I tried this solution, but I got the last value for each product_id. I would like to have the last date for all this grouping set. And I couldn't change the Aggregate with. It proposes only concatenate