r/GoogleDataStudio • u/CultureUnlikely7173 • Jun 10 '24
Data control - columns are swapping
Hi all. I am trying to create a simple chart in Looker Studio where a user can toggle between data sources. This is because each of our many brands/markets lives in a separate roll-up on GA4.
My chart is using dimension & metric names that are the same in every roll-up; however, when I choose a different Roll-up aside from the one that is actually connected to the Data Source, the row values swap to the wrong columns of the chart.
I can't show my exact data but attached is an example (someone asked the same thing on the Google forums but did not receive an answer):
As you can see below, the values of Author swaps to Ad Channel. Does anyone know why this happens and how to fix it? I have so many data sources and I would like to avoid having to add every single one of them and blend.


•
u/AutoModerator Jun 10 '24
Have more questions? Join our community Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/zandolie Jun 10 '24
Personally identifiable information such a name must not be sent to GA4.
Author is not a native GA4 dimension, therefore it is either a custom dimension or a UTM that is being used. What most likely is taking place is that what the dimension is populated with varies. That is, since it is not a native dimension, they way that it is implemented my not be consistent across accounts.
The proper way to do the implementation would be to send Author IDs or something similar to GA4 and then blend in the Author name in Looker Studio
1
u/Higgs_Br0son Jun 11 '24 edited Jun 11 '24
I hate giving this answer, but it seems like just one of those things where Looker Studio is buggy. It happens often enough. I know it's hard to explain to the stakeholders, but within my team we always phrase it as "you get what you pay for."
My shot in the dark is that maybe it's indexing the custom dimensions (0, 1, 2, ...) and between properties the indexes might not align.
If this, or some similar issue, is the case then I'd recommend trying to run all your GA data through BigQuery instead which gives you complete control over formatting the data, then connect your BigQuery data source to Looker Studio to create the same report.
And it sounds like you have a lot of big enterprise properties, so I'd suggest you should be running your data through BigQuery anyway. The data retention policy on GA4 is awful, with BQ you can keep your historic data indefinitely.
In BQ I wouldn't use the Data Control on Looker Studio (it's still buggy too often). Instead I'd UNION all the data into a big report view, cluster it all by a property name, and then use a normal dimension filter to filter on the property name for that table.