alooi14 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 1 forks source link

Filter gives no results for (dimensionX or customVarValueX) #529

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Core Reporting API

Name of related library and version, if applicable (e.g. Java, Python,
HTTP, Objective-C, etc.):All? Can reproduce both with PHP library and query 
explorer.

Issue summary:
When I create a filter that contains both dimensionX(to filter based on a 
custom dimension post UA upgrade) and an OR that also includes 
customVarValueX(to get data from before the upgrade) I get no results at all.

Steps to reproduce issue:
1. Create a filter that is similar to the following 
"dimension1==0,customVarValue1==0" in the query explorer.

Expected output:
Data which either has dimension1 == 0 or customVarValue == 0

Actual results:
No results

Notes:
I have one property which has no custom dimension data yet, if I include the 
custom dimension in the filter I get no results, even if it's in an or. 

I get a similar result with a property which has no custom variable data, if I 
include a custom variable in the filter I get no results.

The purpose of this is to be able to simply update my existing queries to be 
compatible with data both before and after the upgrade in a single request.

Original issue reported on code.google.com by ble...@lawdepot.com on 3 Nov 2014 at 2:33