I found this useful. For me, I cannot set the variable on the year to "-1". I get an error. When setting the variables, how did you get that list of options (addition, subtraction, divide, etc.)? They don't automatically appear for me. Is there another step in the process to create these?
Hi, the field where you set the conditions for a variable allows you to input '+' or '-'. It also automatically suggests it. Just make sure the number is not in parenthesis unless you are passing a string. Sorry for the late response.
I am stumped with the logic for December to January, what would the conditional be for changing December 2023 to January 2024?
There is a mistake, the January is missing in your Clicks 9:19.
Yea, it's a bug I noticed. I have not found a fix for it.
I'm open to ideas if you have any.
could you please explain the condition where month1==month1, and how does it work?
Month-1 = January.
So it's just to say when the button click get to month-1, it should change month-1 to the preceding month, which is December.
I found this useful. For me, I cannot set the variable on the year to "-1". I get an error. When setting the variables, how did you get that list of options (addition, subtraction, divide, etc.)? They don't automatically appear for me. Is there another step in the process to create these?
Hi, the field where you set the conditions for a variable allows you to input '+' or '-'. It also automatically suggests it. Just make sure the number is not in parenthesis unless you are passing a string.
Sorry for the late response.
Did you set year as a number? I made the mistake the first time and had to change Year to Number.
how did you get 1 next to minus sign?
Figma allows you to enter number values to your conditions