Hello,
I currently have a column in my data set that is numerical called "session duration" with values ranging from 0 to 45,000 (in seconds). I want to be able to create a new column that does value mapping for values > 10 to be identified as "Greater than 10" and values < 10 to be identified as "Less than 10". Currently, I am able to do this using this formula:
(CASE
WHEN `Session Duration` > 10 THEN 'GTHEN'
ELSE 'LTHEN'
END)
Now I would like to use this calculation to return the % of total for each the count of category, so a pivot table would show me the % of total of gthen/lthen per month of the year.