Ubidots Community

[SOLVED] How to use where in Synthetic Variables?

I really need some help with synthetic variables. I want to high variable2 when variable1 is less then 40 cm.

i am writing this expression:
"where(variable1<40 , operation_if_true, operation_if_false) "

but this is not working

regards

Hi @nadshanomisyed

Can you please share a screenshot of the expression as entered in the synthetic variables editor? This will provide clarification as to how are you entering the expression.

Also, bear in mind that for STEM users, the where() functions isn’t available. This is only included in industrial trial or paid accounts.

thank you so much for you precious time sir I have got the solution of my problem :slight_smile:

best regards