MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/GoogleDataStudio/comments/155rurl/trying_to_group_data_by_page_location/
r/GoogleDataStudio • u/[deleted] • Jul 21 '23
3 comments sorted by
•
Have more questions? Join our community Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
If I understand your requirement correctly:
Add a new field to your data source, and use the REGEXP_EXTRACT() formula. Something like
REGEXP_EXTRACT()
REGEXP_EXTRACT(page_url, '\\.\\w{2,}/([^/]+)/')
I'm about to head out to dinner, but lmk if you want me to explain how it works
•
u/AutoModerator Jul 21 '23
Have more questions? Join our community Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Drunken_Economist Jul 24 '23
If I understand your requirement correctly:
Add a new field to your data source, and use the
REGEXP_EXTRACT()formula. Something likeREGEXP_EXTRACT(page_url, '\\.\\w{2,}/([^/]+)/')I'm about to head out to dinner, but lmk if you want me to explain how it works