Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Merge queries or relationship for a partial URL match (Google Analytics)

Hi I have an excel file with a list of partial URLs related to campaigns eg:

CampaignURL Fragment
Campaign A/mysection/mysubsection/


I want to pull all the Pages from Google Analytics that match this fragment eg: /mysection/mysubsection/page1.html
/mysection/mysubsection/page23.html

I'd rather not list each individual complete page URL as in some cases there may be dozens

Can I do a query merge or some type of table relationship that will help me to pull these pages out of the GA data?

1 REPLY 1
Anonymous
Not applicable

Hello

 

Assuming you would like to find the volume of hits to the associated sections.

 

In the Google Analytics dataset, Extract the fragment using Text Transfrom as below.1.PNG

Once extracted, you can create a relationship between your Campaign dataset with google analytics dataset.

Note: If you want to preserve the URL column in Google dataset, duplicate the column and apply extraction on it.

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.