【发布时间】:2021-11-15 19:08:06
【问题描述】:
我有以下数据集:
| Week # | Company Name | Product | # of transactions |
|---|---|---|---|
| Week1 | Company A | Product 1 | 100 |
| Week1 | Company B | Product 1 | 30 |
| Week1 | Company A | Product 2 | 100 |
| Week2 | Company B | Product 2 | 50 |
我的目标是:
-
对于每个 COMPANY(每个公司可能有多个行),使用以下公式
total # of transactions per company/100计算 使用分数。例如,从上表中,A 公司有 200 笔交易,Usage score=2 - 我已经成功完成了 -
根据以下公式对每个公司进行分类:
when usage score>1 then "promoter" else "critic"- 我已经成功完成了 -
计算推广者和批评者 - 这就是我失败的地方。在这种情况下,Data Studio 计算每行的使用分数和 NPS,而不是每家公司。因此,我对每个产品而不是每个公司都有促销员。
请帮忙,不胜感激
【问题讨论】:
标签: aggregate google-data-studio calculated-field