I'm trying to create a new metric in Google Data Studio. What I want to do is to have a metric that count the number of sessions to specific pages. Say I have two pages in Google Analytics and I want to calculate the sessions to these pages into one metric. I'm trying to do this with calculated fields in Google Data Studio but can't seem to get it right.
Here's my code so far:
CASE
WHEN sessioner IN
REGEXP_MATCH(page 1|page2) THEN "Name"
ELSE ""
END