Value Range mapping

How can i told Influxdb that a range of 0-100=A 101-200=B?
I searched a lot on Internet but i don’t find a real answer :frowning:

Thanks for Help!! Luk

Hello @Luk,
I’m not sure what you mean by that?
Can you explain in detail?


I receive data about moonphase this is x.x% and i need to do 0,1% - 0,35 = half moon. something like this. There is a plugin in Grafana who can do Value Map Mapping but i think i can do this in Flux also.

Thank you!

Does this help?