I want to group these events by "StartTime" and "IntendedEndTime", to sum the "Notion" then divide it by total Notional to get the percentage, and also take the median "ActualEndTime" as a new column. "Date" and "Strategy" will be used as filters. The result will look like this: