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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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

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?

Not applicable



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

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.