Laurent
Laurent

Reputation: 1563

Google Data Studio - filter based on events

I'm trying to use multiple filters for the same chart and those filters are based on event labels. The issue I'm facing is that every filter works individually without any problem but if I select one filter, the other filters are empty.

Here is setup example.

I have events like this

(category -> action -> label)
flights -> origin -> <variable> (ex : barcelona)
flights -> destination -> <variable> (ex: new york)

In data studio I add a filter based on:

Dimension: event_label
Metric: total events
Filter: event action equals origin, event category equals flights

When clicking on this filter I see all the data I want to see

Then I add another filter:

Dimension: event_label
Metric: total events
Filter: event action equals destination, event category equals flight

When clicking on this filter i see all the data I want to see

So far so good...but it ends here

If I select one origin from the first filter, the second filter becomes empty while within the same session events feeding the destination have been recorded. In one session I could have Barcelona store in origin and New York stored as destination but when I select Barcelona in the filter Origin, nothing is displayed in the Destination filter.

I can mix filters with other types of data like mixing browser with source but I cannot mix events.

Is there a way around this?

Thanks

Upvotes: 0

Views: 7644

Answers (1)

Sian Miller
Sian Miller

Reputation: 40

When you apply filters together they join with the AND operation. So you're limiting your data to events where the event action equals origin AND event action equals destination. This is always going to present 0 results, because both conditions don't exist at the same time.

Instead combine your filter conditions together in the same filter using the OR operator.

Upvotes: 1

Related Questions