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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors