Wrong Datatype in Custom Query Variable

In my custom query, I am using a filter parameter and in the output, it’s telling me it is the wrong datatype “Conversion failed when converting nvarchar to init.”

How do I change the data type?

Here is my variable and it is a number:

Here it is in my custom query, as a filter parameter:

Here it is in my database:

But in the output it is trying to convert it:
image

Where can I change that? Where does it get nvarchar from? I have never had that datatype.

Thanks,
Chris

Community Page
Last updated: