Reply
coliveira03_
Frequent Visitor
Partially syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
avatar user

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)