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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors