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
coliveira03_
Frequent Visitor

Data is not loading from Google Analytics GA4 2.0 (Beta) to Power Bi

Hi,

I am trying to get data from GA4 connector, however, it does never load the data. I have been trying per days... and it stays like this the whole day 

coliveira03__0-1721216040627.png

 

Can anyone please help me?

 

Thank you

1 ACCEPTED SOLUTION
QueryWhiz
Post Patron
Post Patron

Hi @coliveira03_ Could be a temporal issue with the beta connector. I hope it'll be fixed soon. As a workaround, maybe you can try to test your connection with a 3rd party tool, which pulls data from the GA4 API. I currently connect my data this way and I haven't had any issue so far. I've tried windsor.ai, supemetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the GA4 connector in the data sources list:

 

GA4-1.png

 

After that, just grant access to your GA4 account using your credentials, then on preview and destination page you will see a preview of your GA4 fields:

 

GA4-2.png

 

There just select the fields you need. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url. 

 

SELECT_DESTINATION_NEW.png

View solution in original post

3 REPLIES 3
adetox
Frequent Visitor

Hi, an issue that I found is that this connector FAILS to work when you report more than 10.000 rows. Anything lower than that and works. So I dig deeper and seems that 10000 rows is page size of GA4 APIs. So the connector has issues with pagination...

this is my  string and works only if the date filter is small enough to return less than 10.000 rows

let
    Source = GoogleAnalytics.Accounts([Implementation="2.0"]),
    #"accounts/xxxxx" = Source{[Id="accounts/xxxxx"]}[Data],
    #"properties/yyyyy" = #"accounts/xxxxx"{[Id="properties/yyyyyy"]}[Data],
    #"properties/1" = #"properties/yyyyy"{[Id="properties/yyyyy"]}[Data],
    #"Added Items" = Cube.Transform(#"properties/1",
        {
            {Cube.AddMeasureColumn, "sessions", "sessions"},
            {Cube.AddAndExpandDimensionColumn, "date", {"date"}, {"date"}},
            {Cube.AddAndExpandDimensionColumn, "sessionSource", {"sessionSource"}, {"sessionSource"}},
            {Cube.AddAndExpandDimensionColumn, "sessionSourceMedium", {"sessionSourceMedium"}, {"sessionSourceMedium"}},
            {Cube.AddAndExpandDimensionColumn, "sessionDefaultChannelGroup", {"sessionDefaultChannelGroup"}, {"sessionDefaultChannelGroup"}},
            {Cube.AddAndExpandDimensionColumn, "sessionCampaignName", {"sessionCampaignName"}, {"sessionCampaignName"}}
        }),
     #"Filtered Rows" = Table.SelectRows(#"Added Items", each [date] >= #date(2024, 7, 1) and [date] <= #date(2024, 7, 13))
in
    #"Filtered Rows"
QueryWhiz
Post Patron
Post Patron

Hi @coliveira03_ Could be a temporal issue with the beta connector. I hope it'll be fixed soon. As a workaround, maybe you can try to test your connection with a 3rd party tool, which pulls data from the GA4 API. I currently connect my data this way and I haven't had any issue so far. I've tried windsor.ai, supemetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the GA4 connector in the data sources list:

 

GA4-1.png

 

After that, just grant access to your GA4 account using your credentials, then on preview and destination page you will see a preview of your GA4 fields:

 

GA4-2.png

 

There just select the fields you need. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url. 

 

SELECT_DESTINATION_NEW.png

amitchandak
Super User
Super User

@coliveira03_ , Please log an issue too - https://community.powerbi.com/t5/Issues/idb-p/Issues

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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