I have a dataset of all orders I placed in 2024. Within this data, the notable columns are the date of the order, the order number, and the type of order (1,2, or 3). My goal is to randomly select 5 orders from each month, ideally of different order types. It can become tricky as there can be duplicate order numbers, since within each order number there are item #s. For example: Order number 123 has a ball and a glove in the shipment, therefor there are two line items for that order, making the order number appear twice.
I am struggling to find an efficient way to automate this previously overwhelmingly manual task in alteryx.