Code Monkey home page Code Monkey logo

Comments (7)

max-mykhailenko avatar max-mykhailenko commented on July 4, 2024 1

Works for me

Formula for new calculated time dimension
TODATE(time, '%Y-%m-%d %H:%M:%S', '%Y%m%d%H%M')

image

from influxdb-gds-connector.

bednar avatar bednar commented on July 4, 2024

Hi @BeenFifteen,

thanks for using our connector.

I think that the mapping highly depend on your InfluxDB schema. The connector is not able to know how was your field aggregated.

The metrics could be use as a source for aggregated operation:

Schema:
image

Aggregated function over metrics:
image

For more info see our example: https://github.com/influxdata/influxdb-gds-connector/tree/master/examples

If this setting doesn't fit your requirements, Could you please share a little bit more info about your InfluxDB schema and how you want to use it in Google Data Studio?

Regards

from influxdb-gds-connector.

BeenFifteen avatar BeenFifteen commented on July 4, 2024

Hi bednar,

Thanks for the quick reply and for everything you've done on this connector.

Currently I am simply trying to begin with a basic weather station dashboard using my weather station information stored on influxdb.
The first thing I wanted to implement was a time-series chart so I tried to set it up as follows.

image

But as can be seen above it couldn't be done.
Other time-series charts get set-up as seen in the example following with time being the dimension, and the other fields being metrics.

image

Is this an issue with my InfluxDB field setup or with the connector?

Thanks

from influxdb-gds-connector.

bednar avatar bednar commented on July 4, 2024

You are able to change how you visualise your data. Just change dimension to time and as a metric add Average of temperature_C.

from influxdb-gds-connector.

BeenFifteen avatar BeenFifteen commented on July 4, 2024

I was able to shift a dimension to be a metric as you recommended. But the metric of time doesn't appear to be able to be set as a dimension even when setting it up time as a custom field.

from influxdb-gds-connector.

BeenFifteen avatar BeenFifteen commented on July 4, 2024

Hi Bednar,

I was able to set time as a metric through the custom field.

image

Thanks for your help.

from influxdb-gds-connector.

bednar avatar bednar commented on July 4, 2024

You could use TODATE function:

image

from influxdb-gds-connector.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.