Forum Discussion
MalcolmLeong
8 years agoFrequent Visitor
Divide one column by another split by distinct column
This seems simple but I can't seem to get it right. 1. I have data with columns Channels, Clicks and Impressions. 2. I want to calculate the Click-Thru-Rate (CTR) by Channels i.e. CTR = Click...
- 8 years ago
CTR is a measure or calculated column?
try with adding Calculate Function.
CTR=Calculate(divide(sum(data[Clicks],sum(data[impresions]))
Regards
Victor Velarde
MalcolmLeong
8 years agoFrequent Visitor
Sorry realise I need to provide more context.
Here is a smaller subset of the data and I will want to calculate the Click-Thru-Rate (CTR) (i.e. CTR = Clicks / Impressions)
However, I cannot get the formula of CTR at the total correct either through this method:
Or this method:
Any reason why this happens?
Ashish_Mathur
8 years agoSuper User