Another day, another hiccup...
Can't seem to get an hourly rate field to output as a number (a double) when trying to use the Tableau Output tool.
Error: Tableau Output (32): Got an invalid value '33.5' for column "RATE", it must be a float instance OR
Error: Tableau Output (32): Got an invalid value '17.51' for column "RATE", it must be a float instance
The field [RATE] is converted from a String to a Double using a Multi-Field Tool and the toNumber() expression.
This keeps 22.15 as 22.15, but it converts 28.00 to 28 and 33.50 to 33.5.
I use a Data Cleansing tool in combination with an Imputation Tool to remove all extra white-space and and convert any null() values to zero.
I can get the Tableau Output tool to complete if I skip the toNumber() approach and use the Select Tool to force RATE to a Double.
BUT, Tableau interprets RATE as a Text field -- AND you can't change the data type of a field in a published dataset.
4/4 ADD:
See below. Problem with Alteryx Tableau Output tool is not limited to this scenario (trying to export a number as a number).
I previously had the same unresolved problem with an Alteryx date field configured as yyyy-mm-dd being interpreted as a string by Tableau from the published datasource.
The Alteryx Tableau Output Tool is the common denominator.