Evening,
At the moment, I have my data table, my date table and my time table. It lists the transactions per product and if there are multiple products per transaction they share the same transaction ID.
As I'm typing this, it feels like a two parter. The first part; I'd like to be able to work out from what has been ordered if on the order it is one or more people based upon conditions. The conditions for example being if on one unique transaction ID Order, there are two meals, or two coffee's ordered then that means there are two people in that group and therefore a group of two.
My first thoughts is to either group the data or create a conditional column to identify if more than for example one meal has been ordered per transaction ID or more than one coffee. And then COUNT or SUM the resultant to identify the group size; but I'm really not sure, I've tried it a few times but I feel I'll need to use a calculated column given the number of conditions but I'm not sure.
The second part would be then group people who use the same table in the Notes Column and classify them as group (they only recieve a unique transaction ID if they pay together/on the same card/put all their orders on that one docket and pay it in one clean transaction). So for example; if there are 3 transactions ID's all within a 5minute period (that's the part that has me lost, how to create that strict window as so if numbers are used again they aren't recounted) which share the same "25 Inside" Note; how to classify them as a "Group of 4" or a "Group of 3".
I realise this is quite messy and tough but any direction or help would be greatly appreciated.
Here's my PBIX if that helps anyone try things; My Pbix Link