Dropdown Value Won't Populate Variable in Export

Hi All… I have an app executing an SQL Server Stored Procedure. I have a “Get Data” button and an “Export CSV” button. I have a dropdown where the selected value should simply populate a field as it should be a literal value and not in a where clause. When I “Get Data” the value populates fine but when I “Export CSV” it populates it with a 0. This really makes no sense. Any thoughts on this?

Thanks
Bill B

Interestingly when I use Radio Buttons instead of a dropdown it works fine.