Data Studio Linking API and Calculated Fields

Viewed 81

I am working with the Linking API and am finding that if I include ANY of the "ds." parameters in the URL, that the resulting data source loses all calculated fields from the original data source. Based on the documentation, it seems like we should be able specify some of the "ds." parameters, but as long as we don't specify ds.connector, it should still Update (which would keep the calculated fields?). But I'm finding that the only way to get the resulting data source to include calculated fields is to specify NONE of the ds. parameters. Any assistance would be so appreciated!

1 Answers

This is a bug in Data Studio, thanks for flagging it!

We aren't copying calculated fields or parameters from the original datasource unless ds.<alias>.refreshFields is false, and the default is true for Sheets and BigQuery datasources. I suspect that you're only seeing this when you add a "ds" parameter because when you don't have any "ds" parameters and your original data source is reusable, that original data source gets added to the new report instead of creating a new one.

We have a fix that should be going out in the release tomorrow (July 26, ~2pm PDT) but you can work around it in the meantime by adding either ds.<alias>.refreshFields=false (to fix one datasource) or ds.*.refreshFields=false (to fix all datasources, if you have more than one).

Related