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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ramon0101
New Member

Combine multiple accounts GA with advanced editor in one query

Hi,

I would like to combine multiple accounts that I have in GA with advanced editor in one query. The dimensions and metrics will remain the same. Is this possible? How would I need to write my code?

Kind regards,
Ramon

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @ramon0101,

 

Based on my test, if the same Google Analytics email has two accounts, it's not able to retrieve data from those two accounts in one query. You can see if I already check dimensions and metrics under one account, then check another account's dimensions and metrics, the error will throw out like below:

 

q1.PNG

 

And in Query Editor, we can only add the current account's items via Add Items. See:

 

q2.PNG

 

In your scenario, you can create two queries to connect to separate account, then merge or append the query in Query Editor.

 

q3.PNG

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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