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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
arshiagov23
New Member

Error when trying to get data from GA for City

Hello

 

When I try to get data from Google Analytics to Power BI for the "city" data, I keep getting an error in the last column saying there is unexpected character in the JSON input with the last column in my data being filled with "Error"

 

I've tried the "remove error" option under the "remove rows" section , but it does not seem to get rid of the issue and I keep getting the following below

 

We found an unexpected character in the JSON input.
Details:
Value=\31
Position=0

arshiagov23_0-1733439225394.png

 

This only occurs with the City data. I have tried to pull small data with only a couple days worth of data and limited pages but still fall into the same issue. 

 

Any help would be appreciated!

 

4 REPLIES 4
Anonymous
Not applicable

Hi @arshiagov23 

You can try the method provided in the fourth reply in this post, hope it will help you.
Problem with GA4 2.0 connection - Microsoft Fabric Community

vjialongymsft_0-1733453033166.png

 

 

 

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

powerbiexpert22
Impactful Individual
Impactful Individual

Hi @arshiagov23 .

you can try to use replace values in Power Query or you will have to clean data in GA before loading in Power BI

 Can you show me how to replace the values in Power Query please? 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.

June 2025 community update carousel

Fabric Community Update - June 2025

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