I used this query in BigQuery it works perfectly. I am now trying to 'translate' it into a formula for a Looker Studio calculated field. But it's not getting the same result.
This is what I have for determining the number of engaged sessions:
CASE WHEN Event Param Name = 'session_engaged' THEN CONCAT( CASE WHEN Event Param Name = 'ga_session_id' THEN Event Param Value END, User Pseudo ID ) END
The formula is valid, but the result it yields is 0, when it shouldn't be. Has anyone else encountered this problem? Or can anyone point me onto the right direction to solve this? I'm fairly new to Looker Studio formulas, so any help would be highly appreciated.
Thanks in advance!