Dimension and metrics not appearing properly in data studio community connector

Viewed 526

Within the getSchema function in my Google Data Studio community connector, I am building up my list of fields and declaring/setting dimensions and metrics accordingly.

ex:

fields.newMetric().setId(property.Name).setName(property.Name).setType(keyVal.value).setDescription(property.Description)

fields.newDimension().setId(property.Name).setName(property.Name).setType(keyVal.value).setDescription(property.Description)

However, in the connector all fields are displayed as a dimension, and within the report screen it appears to set one field as a dimension and one as a metric.

My question is how can I get my dimensions and metrics to correctly be displayed within the data studio connector and report?

0 Answers
Related