Hello Team,
While using an API as a datasource in Helical Insight 6.1 GA, we observed that all fields are being detected as text/string datatype, even for numeric values.
Why is this happening? Is there any way to fix it?
Thanks,
Vema.
Hello Team,
While using an API as a datasource in Helical Insight 6.1 GA, we observed that all fields are being detected as text/string datatype, even for numeric values.
Why is this happening? Is there any way to fix it?
Thanks,
Vema.
Hello,
This issue occurs due to the format of the API response, not because of Helical Insight itself.
In your API response, all values are enclosed in double quotes (" " ), for example:
{
"id": "101",
"amount": "5000",
"price": "99.99"
}
Here:
id , amount , price ) are returned as strings
Helical Insight determines the datatype based on the actual JSON values:
"123" → treated as string
123 → treated as integer/number
Since your API is sending everything inside quotes, the system has no way to identify numeric types correctly.
Modify the API response to return numeric values without quotes:
{
"id": 101,
"amount": 5000,
"price": 99.99
}
Thank You,
Helical Insight.