Forum Discussion
Help with formula including SWITCH, TRUE, ISBLANK
Hey guys,
I have this column called COOKIE_ID and a column VISIT_ID.
I want to figure out if a visitor (identified by COOKIE_ID) comes for the first time or is a returning visitor or an annonymous visitor.
For this I figured I write the following formula:
For some odd reason though I can't select the column COOKIE_ID in ISBLANK.
See picture below
What am I doing wrong here?
- Anonymous3 years ago
Silly me... I was using a measure instead of calculated column.
6 Replies
- tamerj1
Community Champion
Hi Anonymous
try to wrap it with MAX
- AnonymousNot applicable
Hey Tamer,
Even if I wrap it in MAX I get the following error:
A single value for column 'COOKIE_ID' in table 'OD - All Page Visits Portal' cannot be determined. This can happen if the measure formula refers to a column that contains many values and no aggregation such as min, max, count, or sum has been specified to obtain a single result.- tamerj1
Community Champion
Anonymous
That is strange. Would you please paste the a screenshot of the formula along with the error message?
- AnonymousNot applicable
Silly me... I was using a measure instead of calculated column.