Hi,
I have a metric with 3 dimensions: Quarter, Products & Employee.
I also have a transaction list with the following info
- Sale XYZ - in Q1 24 (dimension Quarter) - Productclass A - sold by John (dimension employee) - previous product seller is Anna (dimension employee)
- Sale FMG - in Q1 24 - Productclass A - sold by Maria - previous product seller is John
In my metric with dimension quarter, product, employee I am calling in all product sales, but I assign them to the previous product owner
so something like iby: -> sale.product.previousseller]. However, in this way all sales get assigned to the last previous seller, whereas I want to assign the sale from John → Ann and the sale from Maria → John because they were at that point in time the previous seller.
How can I do this?
Thank you very much in advance