Segment in CJA for % Calculation
Hi
I'm trying to create a segment in CJA to calculate the percentage of money spent in a category / total money spent
We need to export this as an audience to AEP, so it needs to be in a segment and not a calculated metric. A calculated metric looks like this:
(Department == Snacks (segment) (Net Total Spend)) / (Net Total Spend)
The logic behind what we are trying to solve is "Retrieve the list of users who's top department spend is Snacks."
- Every product has a department
- We collect net sales amount with purchase, department, and person.
I have tried to use segments, functions in the calculated metrics, segments that are person based, derived fields and almost all the functions there, adding data view fields.
I'm SURE someone has done this before.
Any help is really appreciated! Please help, and thank you.

