cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Google analytics to Power BI - counters mismatch with adding new metrics and dimensions

I am working on GA reporting metrics in Power BI via reporting API.

While I create a query with some very basic attributes like sessions and users, I get same values as I can see directly in google analytics dashboard. but when I add more dimensions and attributes, say, user type, pageviews or gender etc, alingwith users and sessions, the value of users and sessions is inflated.

I have tried to go through various documentations, where I know there are some restrictions that not all dimensions and attributes can be put together, but in this case, GA has allowed me to add these basic attributes togehter but the results are not matching. Is there any documentation to explain this behaviur, or has anyone experienced anything like this. has this to do something to do with binning, though I would expect, even if the difference is due to different binnings on different counters, the difference should be a smaller value, not the ones I am getting, which is huge(multiple times of error ) not just few percent of error

1 ACCEPTED SOLUTION
GilbertQ
Super User II
Super User II

Hi there I have had the same issue. And it appears to be because you are using the GA cube that when you put in certain metrics it is cross referencing the data, which causes the numbers to inflate.

What I did was to have different queries where the data matches GA.

It did take me some time to read through the GA definitions to understand what the one value was which was causing the numbers to inflate. As soon as I put those metrics into their own query (table) everything matched back to GA.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

12 REPLIES 12
barryd
Regular Visitor

This issue still exists for me - the 'user' data that shows in BIU doesn't match GA, whatever you do.

 

In the end, I created the report in Google Data Studio (FOC, and has a built-in connecter to GA), them embedded the Google Data Studio report in a Power BI dashboard widget. Far from ideal, but it works and at least the data is correct.

Anonymous
Not applicable

It will help to have different queries where the data matches GA. When you separate queries in their own query, table problems should disappear.

There is a software company Windsor.ai that has solved problems integrating Google Analytics and Power BI, you can check out some of their solutions and proposals on how to set up this integration here https://www.windsor.ai/google-analytics-raw-google-ads-facebook-and-windsor-ai-data-into-microsoft-p...

v-ljerr-msft
Microsoft
Microsoft

Hi @Anonymous,

 

Have you tried the solution provided by @GilbertQ above? Does it work in your scenario? If it works, could you accept it as solution to close this thread?

 

If you still have any question on this issue, feel free to post here. Smiley Happy

 

Regards

GilbertQ
Super User II
Super User II

Hi there I have had the same issue. And it appears to be because you are using the GA cube that when you put in certain metrics it is cross referencing the data, which causes the numbers to inflate.

What I did was to have different queries where the data matches GA.

It did take me some time to read through the GA definitions to understand what the one value was which was causing the numbers to inflate. As soon as I put those metrics into their own query (table) everything matched back to GA.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

Anonymous
Not applicable

Thanks @GilbertQ for sharing your similar experience and advice. Yes, I am trying to do same, though it involves lot of hit n trial.
The GA documentation is not very helpful in this regard.

Hey, i am trying to do the same thing and am not getting the correct value for Users.

I have tried to pull the User data alone with only a date range.  The number is closer to what it should be, but still isnt correct what else can i do to get the correct User value?

 

Capture.PNG

Anonymous
Not applicable

The query you are trying to run should give correct values. Though in terms of users I always get little bit of disperity, but try doing the same with sessions and you should get exact values.

Issue arises when you combine User based vs session based metrics ie say Users & sessoin in one query.

In your example, Try running similar query (just users & time) in GA to see how much difference you are getting - though it should be pretty clode.

Thank you, i have run the same query in GA - the result in GA is 1726 users from 1st - 6th November - when i run it in power BI, same date range - value is 1886

 

So it is still out - i cant seem to figure out how to get the same value.

Anonymous
Not applicable

Try doing same may be on couple other metrices like Session, and seperately for pageviews.

If you are getting accurate results then you might have to live with the results in terms of users.

 

Hi there,  i have done that and the results are the same for both Sessions and Pageviews, except for Users - i am still out.  Is this because Power BI is reading the user information differently to how GA reads it?

 

Is there no way to get this data as per GA into Power BI then?

 

Power BI vs GA.PNG

Hi CyndeeB,

This missmatch from GA happens because you measure users on a daily basis, where in GA it measures for the whole period.
Example:
same user visits website every day for a week. That will give 7 users from daily perspective and 1 user from weekly perspective.

Anonymous
Not applicable

I guess you cant match exact users.

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors