12 Aug 2024
08:28 AM
- last edited on
21 Jan 2026
10:48 AM
by
IzabelaRokita
Summary: This thread explains how to use DQL functions to convert string values into numeric or integer formats. It includes syntax examples and practical use cases for data transformation in Dynatrace dashboards.
Hi Experts
May i know which function to use to convert string value in to Integer or Number format?
Solved! Go to Solution.
12 Aug 2024 08:52 AM
@Mizső but i am getting null output, as the input value is a string.
01 Sep 2024 10:32 AM
toLong() conversion function , but the string being parameter needs to be a valid number, otherwise you will get null
data
record(s="1"),
record(s="1.2"),
record(s="a")
| fieldsAdd i=toLong(s), d=toDouble(s)
Featured Posts