import “strings”
data
|> map (fn:(r) => ({
r with
names_1: strings.split(v: r.name, t: “,”)[0],
names_2: strings.split(v: r.name, t: “,”)[1]
}))
from(bucket: “BATQABucket”)
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r._measurement ==“r.names_1”)
How to use name_1 variable inside _measurement.
Is this different than
yes, it’s different.
I think this may help.