Hello!
I would like to create dynamic segments based on what customers spent in a timeframe that is going to be specified in the query. For example a segment that shows all contacts that have spent more than 500 € in online transactions in the last 6 months.
The information about the transactions comes from a connected ERP system and is shown in the order entity in CDS. I've added this entity to the marketing app and made it available for queries. The records contain a total amount and a submit date.
Simply aggregating the total value of the orders in an additional attribute on the contact can be done, but it's not sufficient for flexible timeframes that are defined in the segment query. Is there any way to achieve this?
Thank you for your help.