Forum Discussion
edwardrmiles
9 years agoHelper III
Using Google Analytics Customs Segment
I'm using the Google Analytics (GA) connector in Power BI desktop. I want to filter my queries using custom segments. I've created these segments in GA but I can't work out how to add them to my que...
- 9 years ago
It doesn't appear possible to use Segments with the off the shelf GA connector. Using Web.Contents() to query the Core Reporting API doesn't work either as GA requires OAuth2 authentication and the PQ doesn't support that.
I solved the problem by writing a Python script, however I', told the new Data Connector SDK allows OAuth2 authentication (https://powerbi.microsoft.com/en-us/blog/data-connectors-developer-preview/) so that might be worth a try
Anonymous
8 years agoNot applicable
You can vote for custom segments to be added to the Google Analytics data connector here
- michaelbilling7 years agoHelper II
Anonymous edwardrmiles v-chuncz-msft
Another - more stabil - solution is to get access to the unaggregated Google Analytics data.
This is possible using the scitylana.com services.