Equation to display the day of the week

I tried to use the following equation to display the day of the week. To change the X position. On “huawei watch 2” does not work.

$#DOW#=1?25:#DOW#=2?64:#DOW#=3?102:#DOW#=4?142:#DOW#=5?180:#DOW#=6?219:257$

Any idea why? Thanks

Try:

$#DOW#=1?25:$$#DOW#=2?64:$$#DOW#=3?102:$$#DOW#=4?142:$$#DOW#=5?180:$$#DOW#=6?219:$$#DOW#=0?257$

Or:

UPDATE: CORRECTED MATH

$#DOW#>0?(#DOW#*39-14):259$

Which returns: 25, 64, 103, 142, 181, 220, 259

1 Like

Thanks, I’ll try.
The first option works only in the following form:

$#DOW#=1?25:$$#DOW#=2?64:$$#DOW#=3?102:$$#DOW#=4?142:$$#DOW#=5?180:$$#DOW#=6?219:257$

At least in the creator. I still need someone with Huawei Watch 2. :slight_smile:

Great aproach! I like this form, maths are awesome:wink:…