Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Then the following should work:
Avg({< temperatura ={">=$(vchoixtemperaturamin)<=$(vchoixtemperaturamax)"} >} [moyvalore])
Hope that helps.
Miguel
Hi,
Syntax seems to be fine. But if that is not working, my guess is that is something likely to do with formats. What do the variables "vchoixtemperaturamin" and "vchoixtemperaturamax" store? How did you create those variables: from the Settings menu or within the script? What is the format of field "temperatura"?
Hope that helps.
Miguel
Try
({$ <temperatura ={">=$(=vchoixtemperaturamin)"}, temperature="{ <=$(=vchoixtemperaturamax)"}>}[moyvalore])
Hello Miguel,
The variables "vchoixtemperaturamin" and "vchoixtemperaturamax" are create from the Settings menu and represente degrees (who are integer and could be positif or negatif). For example "vchoixtemperaturamin"=-20 and "vchoixtemperaturamax"=10 so I want to have on the graph the degrees who are between -20° and 10°.
And the format of temperatura is an integer positive or negative
Thank you
Hi,
Then the following should work:
Avg({< temperatura ={">=$(vchoixtemperaturamin)<=$(vchoixtemperaturamax)"} >} [moyvalore])
Hope that helps.
Miguel
And avg({$temperatura={">=$(=vchoixtemperaturamin)"},temperatura={"<=$(=vchoixtemperaturamax)"}>}moyvalor) doesn't work!
Thanks a lot Miguel, it works!!!!!
Have a nice day