Forum Discussion
kamijaja
7 years agoNew Member
Avoid sampling Google Analytics connector
Hi, I have read some threads about sampling data with the connector and there are some ways how to avoid it mentioned here let
Source = GoogleAnalytics.Accounts(),
#"1" = Source{[Id="99...
- 7 years ago
You may take a look at the post below.
https://community.powerbi.com/t5/Desktop/Dynamic-value-in-datatime-QueryFilter/m-p/360343#M162637
v-chuncz-msft
Community Support
7 years ago
You may take a look at the post below.
https://community.powerbi.com/t5/Desktop/Dynamic-value-in-datatime-QueryFilter/m-p/360343#M162637
Anonymous
5 years agoNot applicable
For everyone else struggling with this...
I just wanted to add that v-chuncz-msft solution doesn't affect the GA connector data. For more detailed explanation watch this video (solution starts at 9min).
As for me, I only needed last month's data so this formula worked like a charm:
#"Filtered Rows" = Table.SelectRows(#"Added Items", each Date.IsInPreviousNDays([Date], 31))
Also, to check if the GA data is being sampled for the desired period please use https://ga-dev-tools.appspot.com/query-explorer/
Good luck!