Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GA4 Query explorer cannot use dimension filter without having the dimension in the query #1099

Open
McGern opened this issue Jan 16, 2023 · 1 comment

Comments

@McGern
Copy link

McGern commented Jan 16, 2023

What page is this happening on
Query explorer GA4

Describe the bug
When using UA query explorer the user was able to filter on dimensions without having that dimension return as part of the query. This was useful for getting totals of a dimensions without to return the dimension in the data.

Using the GA4 interface in query explorer, if you do not have the dimension returned in the query, you cannot filter on it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Query explorer for GA4
  2. Add a metric to query on e.g. "screenPageViews"
  3. Leave the "dimensions" field blank
  4. Attempt to add a dimension filter
  5. NOTE: The JSON request will not include the dimension filter
  6. Pressing "Make request" will not return the expected data

Expected behavior
The user should be able to add dimension filters where those dimensions aren't returned in the query.
The user should be able to autocomplete on filters that aren't included in the dimensions field.
The user should be able to see the JSON request with the dimension filters that were added.
The search results should be filtered based on the dimension filters added.

Screenshots
image

@richard-h-ward
Copy link

the filter doesn't seem to work even when the filtered dimension is added as a requested dimension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants