Hello Dojo,
I have a calculated field I am trying to apply to a time series chart that does not seem to want to summarize. The formula changes based on one of the variables - objective.
case when `Objective` = 'CLICKS' then
(case when (sum(`Clicks`) / sum(`Impressions`)) < .0082 then 0
when (sum(`Clicks`) / sum(`Impressions`)) < .0098 then 1
when (sum(`Clicks`) / sum(`Impressions`)) < .0107 then 2
else 3 end)
when `Objective` LIKE 'ENGAGEMENT%' then
(case when (sum(`Engagements`) / sum(`Impressions`)) < .2203 then 0
when (sum(`Engagements`) / sum(`Impressions`)) < .2644 then 1
when (sum(`Engagements`) / sum(`Impressions`)) < .2864 then 2
else 3 end)
when `Objective` = 'VIDEO VIEWS' then
(case when (sum(`Video Views`) / sum(`Impressions`)) < .0489 then 0
when (sum(`Video Views`) / sum(`Impressions`)) < .0587 then 1
when (sum(`Video Views`) / sum(`Impressions`)) < .0636 then 2
else 3 end)
when `Objective` = 'REACH' then
(case when sum(`Reach`) < 1527494 then 0
when sum(`Reach`) < 1680243 then 1
when sum(`Reach`) < 1985742 then 2
else 3 end) end
When I add this formula to my chart and try to trend it by date, each of the dates repeats. It looks to repeat for each objective. I would like this score to show the summarized score for all objectives. Oddly enough, the data table at the bottom shows what I want, but in analyzer it repeats.
Data table at bottom:
Analyzer table:
Let me know if anyone has any ideas.