I'm missing something very basic here. I'm using Modelbuilder in ArcGIS Pro 2.9.5 and I'm using the Calculate Value tool to do a simple task of removing spaces from a name string, which I then want to pass on to a Make Table View tool as the name of the output file.
I'm entering an Expression in the Calculate Value tool and I'm leaving the Code Block blank. Name is a precondition. Output data type is String. I have made Value a Parameter. The output "Value" reads as expected in the code comments after the tool has run but when I try to use %Value% in the Make Table View Tool it always reads the output as a "1" so my output table is always named "1."
What am I missing? Why is Value "1" and not the string I am building in the expression?
Thanks!
![calcvalue1.PNG calcvalue1.PNG](https://community.esri.com/t5/image/serverpage/image-id/94519i8648AC2223A652A3/image-size/large?v=v2&px=999)
![calcvalue2.PNG calcvalue2.PNG](https://community.esri.com/t5/image/serverpage/image-id/94525iAB8D3B83A891310E/image-size/large?v=v2&px=999)