I have the following sample:
let data = datatable(ProducutName:string)
[
"Amigo Patchi 50 KG",
"Amigo Patchi 50 KG",
"Amigo Patchi 50 KG",
"Chocolate Bar 25Kg",
"Chocolate Bar 25Kg",
"Chocolate Bar 25Kg",
"Brownies CupCakes 100Kg",
"Brownies CupCakes 100Kg",
"Brownies CupCakes 100Kg"
];
In this sample, there are 3 different product lines:
- Amigo Patchi
- Chocolate Bar
- Brownies Cupcakes
Each of those product lines has in it its name and value. But as you can see, each product has the value and its unit written in a different way. What I am trying to achieve here is to extract this value from each of those records and display it in a new column. So the expected result would be two columns, first column: ProductName; second Column: Value
Here is what I am trying to achieve:
Is there a way to achieve this in Kusto ?
Please take into consideration that the value for each line could change. It is not always the same. So the code that will be written should simply search for this value(searching for an integer) in the string and display it in a new column as shown in the screen shot.
