Hi, I am trying to update a year in my query via a user input as part of an analytic app. The query is hard coded with the year 2021 for one input and 2022 for another so that it can be replaced with the number that is put into the user text box. However, when I put in 2024 and 2026 or something like that in the user box, I am getting the year changed to some random numbers as shown in the second image below. Why is this happening and how can I fix it? The numbers are treated as string in the query and I thought I had it working last night but when I checked back on it this morning it doesn't work so i guess I have had this problem all along. It seems as though the second set for month had no issues updating when I did this the same way.
Thank you

