Hello community,
I have a dataset with transaction data and I’m facing issues with filtering my views with aggregate measures.
Here is a sample of my data:
|day|source|client|status|amountRS|
|01/01/2024|A|1|processed|1|
|01/01/2024|A|2|processed|2|
|01/02/2024|A|1|processed|5|
|01/02/2024|B|1|processed|20|
|01/02/2024|B|1|canceled|100|
|01/02/2024|A|1|processed|50|
|01/02/2024|A|2|canceled|1|
|01/02/2024|A|1|processed|1|
|01/02/2024|B|2|canceled|1|
|01/02/2024|A|2|processed|1|
[…]
The business ran a marketing campaing to promote transactions processed through source A.
Therefore I need a view of historical volume (sum of AmountRS) of the clients that had its first transaction in source A after the campaign.
My attempt:
- Building an aggregate measure to identify the clients through a calculated field named “firstTransaction”.
minOver(
minIf(day,
source= “A” AND
status = “processed” ),
[{client}])
- Using this calculated field to filter my view (a vertical bar chart filtered with my calculated field)
In this process I got an error: “Table calculation attribute reference(s) are missing in field wells” (VISUAL_CALC_REFERENCE_MISSING)
Is there some way to get this view?
Thanks in advance.
